File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1212``` php
1313use Spatie\Snapshots\MatchesSnapshots;
1414
15- class OrderSerializerTest
15+ class OrderTest
1616{
1717 use MatchesSnapshot;
1818
19- class test_it_serializes_an_order_json ()
19+ class test_it_casts_to_json ()
2020 {
2121 $orderId = new Order(1);
2222
@@ -32,8 +32,8 @@ On the first run, the test runner will create a new snapshot.
3232
3333There was 1 incomplete test:
3434
35- 1) OrderSerializerTest::test_it_serializes_an_order_json
36- Snapshot created for OrderSerializerTest__test_it_serializes_an_order_json__1
35+ 1) OrderTest::test_it_casts_to_json
36+ Snapshot created for OrderTest__test_it_casts_to_json__1
3737
3838OK, but incomplete, skipped, or risky tests!
3939Tests: 1, Assertions: 0, Incomplete: 1.
@@ -55,7 +55,7 @@ $orderId = new Order(2); // Regression! Was `1`
5555```
5656> ./vendor/bin/phpunit
5757
58- 1) OrderSerializerTest::test_it_serializes_an_order_json
58+ 1) OrderTest::test_it_casts_to_json
5959Failed asserting that two strings are equal.
6060--- Expected
6161+++ Actual
You can’t perform that action at this time.
0 commit comments