Skip to content

Commit

Permalink
Fixtures fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
themm1 committed Jul 21, 2023
1 parent 0de0062 commit d6573b6
Show file tree
Hide file tree
Showing 8 changed files with 358 additions and 319 deletions.
88 changes: 16 additions & 72 deletions tests/fixtures/race_tour-de-france_2021_route_climbs.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,6 @@
"top": 731,
"km_before_finnish": 89
},
{
"climb_name": "Col de Llauro",
"climb_url": "location/col-de-llauro",
"length": 6.5,
"steepness": 3.0,
"top": 383,
"km_before_finnish": 185
},
{
"climb_name": "Col de Beixalis",
"climb_url": "location/col-de-beixalis",
Expand Down Expand Up @@ -256,30 +248,6 @@
"top": 1046,
"km_before_finnish": 95
},
{
"climb_name": "Montagne Saint-Michel",
"climb_url": "location/montagne-saint-michel",
"length": 4.2,
"steepness": 3.1,
"top": 295,
"km_before_finnish": 56
},
{
"climb_name": "La Placette",
"climb_url": "location/col-de-la-placette",
"length": 4.1,
"steepness": 3.7,
"top": 589,
"km_before_finnish": 108
},
{
"climb_name": "Col de Fourtou",
"climb_url": "location/col-de-fourtou",
"length": 4.1,
"steepness": 3.8,
"top": 644,
"km_before_finnish": 173
},
{
"climb_name": "C\u00f4te de Ch\u00e2teau-Chinon",
"climb_url": "location/cote-de-chateau-chinon",
Expand Down Expand Up @@ -328,14 +296,6 @@
"top": 735,
"km_before_finnish": 71
},
{
"climb_name": "C\u00f4te de Notre-Dame de Pi\u00e9tat",
"climb_url": "location/cote-de-notre-dame-de-pietat",
"length": 2.6,
"steepness": 5.4,
"top": 367,
"km_before_finnish": 119
},
{
"climb_name": "C\u00f4te de Domancy",
"climb_url": "location/cote-de-domancy",
Expand All @@ -344,6 +304,14 @@
"top": 797,
"km_before_finnish": 125
},
{
"climb_name": "C\u00f4te de Notre-Dame de Pi\u00e9tat",
"climb_url": "location/cote-de-notre-dame-de-pietat",
"length": 2.6,
"steepness": 5.4,
"top": 367,
"km_before_finnish": 119
},
{
"climb_name": "C\u00f4te de Saint-Rivoal",
"climb_url": "location/cote-de-saint-rivoal",
Expand Down Expand Up @@ -376,14 +344,6 @@
"top": 129,
"km_before_finnish": 88
},
{
"climb_name": "C\u00f4te de Galinagues",
"climb_url": "location/cote-de-galinagues",
"length": 2.2,
"steepness": 7.9,
"top": 944,
"km_before_finnish": 57
},
{
"climb_name": "C\u00f4te de Plum\u00e9liau",
"climb_url": "location/cote-de-plumeliau",
Expand All @@ -392,6 +352,14 @@
"top": 120,
"km_before_finnish": 34
},
{
"climb_name": "C\u00f4te de Galinagues",
"climb_url": "location/cote-de-galinagues",
"length": 2.2,
"steepness": 7.9,
"top": 944,
"km_before_finnish": 57
},
{
"climb_name": "C\u00f4te de Pordic",
"climb_url": "location/cote-de-pordic",
Expand Down Expand Up @@ -472,30 +440,6 @@
"top": 178,
"km_before_finnish": 18
},
{
"climb_name": "Col de la Madeleine",
"climb_url": "location/col-de-la-madeleine4",
"length": 1.7,
"steepness": 4.2,
"top": 453,
"km_before_finnish": 50
},
{
"climb_name": "Col du Rebout",
"climb_url": "location/col-du-rebout",
"length": 1.7,
"steepness": 3.9,
"top": 612,
"km_before_finnish": 65
},
{
"climb_name": "Col du Serre de Tourre",
"climb_url": "location/col-du-serre-de-tourre",
"length": 1.4,
"steepness": 5.4,
"top": 323,
"km_before_finnish": 111
},
{
"climb_name": "C\u00f4te de Saint-Brieuc",
"climb_url": "location/cote-de-saint-brieuc",
Expand Down
210 changes: 136 additions & 74 deletions tests/fixtures/race_tour-de-france_2021_route_climbs.txt

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions tests/fixtures/rankings.php?date=2020-12-31&p=me&s=races.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"dates_select": [
{
"text": "2023",
"value": "2023-06-23"
"value": "2023-07-21"
},
{
"text": "2022",
Expand Down Expand Up @@ -715,7 +715,7 @@
"nationality": "FR",
"class": "CC",
"points": 573.0,
"race_name": "European Continental Championships - Road Race",
"race_name": "European Continental Championships ME - Road Race",
"race_url": "race/uec-road-european-championships/2020"
},
{
Expand Down Expand Up @@ -850,7 +850,7 @@
"nationality": "IT",
"class": "NC",
"points": 344.0,
"race_name": "National Championships Italy - Road Race",
"race_name": "National Championships Italy ME - Road Race",
"race_url": "race/nc-italy/2020"
},
{
Expand All @@ -877,7 +877,7 @@
"nationality": "BE",
"class": "NC",
"points": 318.0,
"race_name": "National Championships Belgium - Road Race",
"race_name": "National Championships Belgium ME - Road Race",
"race_url": "race/nc-belgium/2020"
},
{
Expand Down Expand Up @@ -922,7 +922,7 @@
"nationality": "FR",
"class": "NC",
"points": 280.0,
"race_name": "National Championships France - Road Race",
"race_name": "National Championships France ME - Road Race",
"race_url": "race/nc-france/2020"
},
{
Expand Down Expand Up @@ -1219,7 +1219,7 @@
"nationality": "SI",
"class": "NC",
"points": 121.0,
"race_name": "National Championships Slovenia - Road Race",
"race_name": "National Championships Slovenia ME - Road Race",
"race_url": "race/nc-slovenia/2020"
},
{
Expand Down Expand Up @@ -1273,7 +1273,7 @@
"nationality": "SI",
"class": "NC",
"points": 106.0,
"race_name": "National Championships Slovenia - ITT",
"race_name": "National Championships Slovenia ME - ITT",
"race_url": "race/nc-slovenia-itt/2020"
},
{
Expand Down Expand Up @@ -1309,7 +1309,7 @@
"nationality": "NL",
"class": "NC",
"points": 98.0,
"race_name": "National Championships Netherlands - Road Race",
"race_name": "National Championships Netherlands ME - Road Race",
"race_url": "race/nc-netherlands/2020"
},
{
Expand Down Expand Up @@ -1345,7 +1345,7 @@
"nationality": "ES",
"class": "NC",
"points": 83.0,
"race_name": "National Championships Spain - Road Race",
"race_name": "National Championships Spain ME - Road Race",
"race_url": "race/nc-spain/2020"
},
{
Expand All @@ -1363,7 +1363,7 @@
"nationality": "DK",
"class": "NC",
"points": 74.0,
"race_name": "National Championships Denmark - Road Race",
"race_name": "National Championships Denmark ME - Road Race",
"race_url": "race/danish-championships/2020"
},
{
Expand All @@ -1372,7 +1372,7 @@
"nationality": "FR",
"class": "CC",
"points": 74.0,
"race_name": "European Continental Championships - ITT",
"race_name": "European Continental Championships ME - ITT",
"race_url": "race/uec-road-european-championships-itt/2020"
},
{
Expand Down Expand Up @@ -1408,7 +1408,7 @@
"nationality": "NO",
"class": "NC",
"points": 52.0,
"race_name": "National Championships Norway - Road Race",
"race_name": "National Championships Norway ME - Road Race",
"race_url": "race/nc-norway/2020"
},
{
Expand Down
Loading

0 comments on commit d6573b6

Please sign in to comment.