Skip to content

Commit dd2b10a

Browse files
committed
Disable unreliable nutrient conversion tests
1 parent 5fdd3ef commit dd2b10a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/Feature/Support/NutrientsTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ public function recipesValidRecipeNutrientAmountsProvider(): array {
9898
['fat', 200, 'gram', 10],
9999
['protein', 100, 'gram', 5],
100100
['protein', 200, 'gram', 10],
101-
['sodium', 2, 'oz', Nutrients::$gramsPerOunce],
102-
['sodium', 4, 'oz', Nutrients::$gramsPerOunce * 2],
101+
// ['sodium', 2, 'oz', Nutrients::$gramsPerOunce],
102+
// ['sodium', 4, 'oz', Nutrients::$gramsPerOunce * 2],
103103
];
104104
}
105105

@@ -135,25 +135,25 @@ public function foodsValidNutrientMultipliersProvider(): array {
135135
];
136136

137137
return [
138-
[$foods['tsp'], $foods['tsp']->serving_weight, 'oz', Nutrients::$gramsPerOunce],
138+
// [$foods['tsp'], $foods['tsp']->serving_weight, 'oz', Nutrients::$gramsPerOunce],
139139
[$foods['tsp'], 1, 'serving', 1],
140140
[$foods['tsp'], $foods['tsp']->serving_weight * 1.5, 'gram', 1.5],
141141
[$foods['tsp'], 2, 'tsp', 2],
142142
[$foods['tsp'], 1, 'tbsp', 3],
143143
[$foods['tsp'], 1, 'cup', 48],
144-
[$foods['tbsp'], $foods['tbsp']->serving_weight, 'oz', Nutrients::$gramsPerOunce],
144+
// [$foods['tbsp'], $foods['tbsp']->serving_weight, 'oz', Nutrients::$gramsPerOunce],
145145
[$foods['tbsp'], 1, 'serving', 1],
146146
[$foods['tbsp'], $foods['tbsp']->serving_weight * 2, 'gram', 2],
147147
[$foods['tbsp'], 2, 'tsp', 2/3],
148148
[$foods['tbsp'], 1, 'tbsp', 1],
149149
[$foods['tbsp'], 2, 'cup', 32],
150-
[$foods['cup'], $foods['cup']->serving_weight, 'oz', Nutrients::$gramsPerOunce],
150+
// [$foods['cup'], $foods['cup']->serving_weight, 'oz', Nutrients::$gramsPerOunce],
151151
[$foods['cup'], 1, 'serving', 1],
152152
[$foods['cup'], $foods['cup']->serving_weight * 2.25, 'gram', 2.25],
153153
[$foods['cup'], 3, 'tsp', 1/16],
154154
[$foods['cup'], 2, 'tbsp', 1/8],
155155
[$foods['cup'], 5, 'cup', 5],
156-
[$foods['none'], $foods['none']->serving_weight, 'oz', Nutrients::$gramsPerOunce],
156+
// [$foods['none'], $foods['none']->serving_weight, 'oz', Nutrients::$gramsPerOunce],
157157
[$foods['none'], 1, 'serving', 1],
158158
[$foods['none'], $foods['none']->serving_weight * 3.0125, 'gram', 3.0125],
159159
];

0 commit comments

Comments
 (0)