Skip to content

Commit 2c8acb0

Browse files
authored
Update DriverFactoryTest.php
1 parent 2168621 commit 2c8acb0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/DriverFactoryTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ public function will_throw_exception_if_using_invalid_driver()
2626
/** @test */
2727
public function can_get_list_of_drivers()
2828
{
29+
2930
$this->assertIsArray(DriverFactory::getDrivers());
30-
$this->assertContains('mock', DriverFactory::getDrivers());
31+
$this->assertArrayHasKey('mock', DriverFactory::getDrivers());
3132
}
3233
}

0 commit comments

Comments
 (0)