66use Tests \Tempest \Fixtures \Migrations \CreateAuthorTable ;
77use Tests \Tempest \Fixtures \Migrations \CreateBookTable ;
88use Tests \Tempest \Fixtures \Migrations \CreateChapterTable ;
9+ use Tests \Tempest \Fixtures \Migrations \CreatePublishersTable ;
910use Tests \Tempest \Fixtures \Modules \Books \Models \Author ;
1011use Tests \Tempest \Fixtures \Modules \Books \Models \Book ;
1112use Tests \Tempest \Integration \FrameworkIntegrationTestCase ;
@@ -18,8 +19,9 @@ public function test_refresh_works_for_models_with_unloaded_relation(): void
1819 {
1920 $ this ->migrate (
2021 CreateMigrationsTable::class,
21- CreateBookTable ::class,
22+ CreatePublishersTable ::class,
2223 CreateAuthorTable::class,
24+ CreateBookTable::class,
2325 CreateChapterTable::class,
2426 );
2527
@@ -65,8 +67,10 @@ public function test_load_method_only_refreshes_relations_and_nothing_else(): vo
6567 {
6668 $ this ->migrate (
6769 CreateMigrationsTable::class,
68- CreateBookTable ::class,
70+ CreatePublishersTable ::class,
6971 CreateAuthorTable::class,
72+ CreateBookTable::class,
73+ CreateChapterTable::class,
7074 );
7175
7276 $ author = Author::create (
0 commit comments