diff --git a/tests/CustomizableMigrationTest.php b/tests/CustomizableMigrationTest.php index 5c48290..de4b0cb 100644 --- a/tests/CustomizableMigrationTest.php +++ b/tests/CustomizableMigrationTest.php @@ -166,7 +166,7 @@ public function create(Blueprint $table): void public function morph_nullable_throws_if_called_twice(): void { $blueprint = m::mock(Blueprint::class); - $blueprint->expects('morphs')->with('foo', null)->once(); + $blueprint->expects('nullableMorphs')->with('foo', null)->once(); $this->container->instance('db.schema', $schema = m::mock(SchemaBuilder::class)); @@ -188,8 +188,8 @@ function (string $table, Closure $closure) use ($blueprint, &$exception): bool { { public function create(Blueprint $table): void { - $this->createMorph($table, 'foo'); - $this->createMorph($table, 'foo'); + $this->createNullableMorph($table, 'foo'); + $this->createNullableMorph($table, 'foo'); } };