Skip to content

Commit

Permalink
[1.x] Fixes test not hitting line.
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkGhostHunter committed Mar 15, 2024
1 parent 1cec5b0 commit 0ef9562
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/CustomizableMigrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand All @@ -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');
}
};

Expand Down

0 comments on commit 0ef9562

Please sign in to comment.