Skip to content

Commit

Permalink
Change assertion to contain instead of matching snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
kfriars committed Sep 7, 2023
1 parent 96d1024 commit a99bfa8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.

This file was deleted.

2 changes: 1 addition & 1 deletion tests/Suites/Feature/Migrations/PretendMigrationsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
'--pretend' => true,
]);

expect(Artisan::output())->toMatchSnapshot();
expect(Artisan::output())->toContain('create table "v1_0_1_documents"');
});

it('reports errors that occur during pretended migrations', function () {
Expand Down

0 comments on commit a99bfa8

Please sign in to comment.