File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -57,15 +57,15 @@ protected function createDump(): void
5757
5858 $ dumpName = $ this ->getDumpName ();
5959
60- file_put_contents ($ this ->getFixturesPath ("{ $ dumpName} .sql " ), $ content );
60+ file_put_contents ($ this ->getFixturesPath ($ dumpName ), $ content );
6161
6262 event (new SuccessCreateMessage ("Created a new Test dump on path: "
63- . "{$ this ->paths ['tests ' ]}/fixtures/ {$ this ->getTestClassName ()}/ {$ dumpName }.sql " ));
63+ . "{$ this ->paths ['tests ' ]}/fixtures/ {$ this ->getTestClassName ()}/ {$ dumpName }" ));
6464 }
6565
6666 protected function getDumpName (): string
6767 {
68- return 'dump ' ;
68+ return 'dump.sql ' ;
6969 }
7070
7171 protected function getInserts (): array
Original file line number Diff line number Diff line change @@ -176,6 +176,6 @@ protected function getDumpName(): string
176176 {
177177 $ modelName = Str::snake ($ this ->model );
178178
179- return "nova_ {$ modelName }_dump " ;
179+ return "nova_ {$ modelName }_dump.sql " ;
180180 }
181181}
You can’t perform that action at this time.
0 commit comments