You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/Feature/ExportPostmanTest.php
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -190,6 +190,7 @@ public function test_rules_printing_export_to_human_readable_works()
190
190
$this->assertCount(1, $fields->where('key', 'field_2')->where('description', 'The field 2 field is required., The field 2 must be an integer.'));
191
191
$this->assertCount(1, $fields->where('key', 'field_3')->where('description', '(Optional), The field 3 must be an integer.'));
192
192
$this->assertCount(1, $fields->where('key', 'field_4')->where('description', '(Nullable), The field 4 must be an integer.'));
193
+
// the below fails locally, but passes on GitHub actions?
193
194
$this->assertCount(1, $fields->where('key', 'field_5')->where('description', 'The field 5 field is required., The field 5 must be an integer., The field 5 must not be greater than 30., The field 5 must be at least 1.'));
194
195
195
196
/** This looks bad, but this is the default message in lang/en/validation.php, you can update to:.
@@ -198,6 +199,8 @@ public function test_rules_printing_export_to_human_readable_works()
198
199
**/
199
200
$this->assertCount(1, $fields->where('key', 'field_6')->where('description', 'The selected field 6 is invalid.'));
200
201
$this->assertCount(1, $fields->where('key', 'field_7')->where('description', 'The field 7 field is required.'));
0 commit comments