Skip to content

Commit eeb78da

Browse files
committed
wip
1 parent 301ac9b commit eeb78da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Integration/Database/Builder/InsertQueryBuilderTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use Tempest\Database\Id;
88
use Tempest\Database\Migrations\CreateMigrationsTable;
99
use Tempest\Database\Query;
10+
use Tests\Tempest\Fixtures\Migrations\CreateAuthorTable;
1011
use Tests\Tempest\Fixtures\Migrations\CreateBookTable;
1112
use Tests\Tempest\Fixtures\Migrations\CreateChapterTable;
1213
use Tests\Tempest\Fixtures\Modules\Books\Models\Author;
@@ -182,7 +183,7 @@ public function test_inserting_has_one_via_parent_model_throws_exception(): void
182183

183184
public function test_then_method(): void
184185
{
185-
$this->migrate(CreateMigrationsTable::class, CreateBookTable::class, CreateChapterTable::class);
186+
$this->migrate(CreateMigrationsTable::class, CreateAuthorTable::class, CreateBookTable::class, CreateChapterTable::class);
186187

187188
$id = query(Book::class)
188189
->insert(title: 'Timeline Taxi')

0 commit comments

Comments
 (0)