Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Jan 10, 2024
1 parent da489c9 commit 51ae979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Foundation/Bootstrap/LoadMigrationsFromArrayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function it_can_register_migrations()
{
$this->instance('migrator', $migrator = m::mock(Migrator::class));

$paths = [join_paths((string) realpath(__DIR__.'/../../'), 'migrations')];
$paths = [(string) realpath(join_paths(__DIR__, '..', '..', 'migrations'))];

$migrator->shouldReceive('path')->once()->with($paths[0])->andReturnNull()
->shouldReceive('path')->once()->with($this->app->basePath('migrations'))->andReturnNull();
Expand Down

0 comments on commit 51ae979

Please sign in to comment.