Skip to content

Commit 2ed6c4d

Browse files
committed
Fix usage of Types which isnt availalbe
1 parent 63592ca commit 2ed6c4d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Integration/EloquentMiddlewareTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class EloquentMiddlewareTest extends TestCase
1717
protected function setUp(): void
1818
{
1919
parent::setUp();
20-
$x = __DIR__ . '/../database/migrations';
20+
2121
$this->loadMigrationsFrom(__DIR__ . '/../database/migrations');
2222
}
2323

tests/Unit/EloquentMiddlewareTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function testColumnsFromTheDatabaseAreReturned(): void
4242
$middleware = new EloquentMiddleware(new NullCache());
4343
$propertyMap = new PropertyMap();
4444
$mapper = $this->createMock(JsonMapperInterface::class);
45-
$model = $this->prepareMockedModel(new Column('id', Type::getType(Types::INTEGER)));
45+
$model = $this->prepareMockedModel(new Column('id', Type::getType(Type::INTEGER)));
4646

4747
$middleware->handle(new \stdClass(), new ObjectWrapper($model), $propertyMap, $mapper);
4848

0 commit comments

Comments
 (0)