Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vossik committed Jun 2, 2021
1 parent b0f5821 commit be417b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Unit/Command/SqlGeneratorCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public function testSimple() : void

$result = $commandTester->execute([
'command' => 'sqlGenerator',
'source' => '/../../tests/Unit/TestBean/',
'source' => __DIR__ . '/../TestBean/',
]);

self::assertSame(0, $result);
Expand Down Expand Up @@ -149,7 +149,7 @@ public function testDuplicateColumns() : void

$commandTester->execute([
'command' => 'sqlGenerator',
'source' => '/../../tests/Unit/InvalidBean/DuplicateColumns/',
'source' => __DIR__ . '/../InvalidBean/DuplicateColumns/',
]);
}

Expand All @@ -166,7 +166,7 @@ public function testUndefinedProperty() : void

$commandTester->execute([
'command' => 'sqlGenerator',
'source' => '/../../tests/Unit/InvalidBean/UndefinedProperty/',
'source' => __DIR__ . '/../InvalidBean/UndefinedProperty/',
]);
}

Expand All @@ -183,7 +183,7 @@ public function testColumnCount() : void

$commandTester->execute([
'command' => 'sqlGenerator',
'source' => '/../../tests/Unit/InvalidBean/ColumnCount/',
'source' => __DIR__ . '/../InvalidBean/ColumnCount/',
]);
}
}

0 comments on commit be417b3

Please sign in to comment.