Skip to content
This repository has been archived by the owner on Jan 22, 2018. It is now read-only.

Commit

Permalink
Remove exception message assertion
Browse files Browse the repository at this point in the history
It is different on PHP 7 and 7.1
  • Loading branch information
hkdobrev committed Nov 14, 2017
1 parent 663906e commit bb89537
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/tests/MigrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ public function test_load_driver()
public function test_driver_class()
{
$this->expectException('TypeError');
$message = <<<MESSAGE
Argument 1 passed to Migration::driver() must be an instance of Migration_Driver or null, instance of stdClass given
MESSAGE;
$this->expectExceptionMessage($message);
$migration = new Migration_One(array('type' => 'mysql'));
$dummy_driver = new stdClass;
$migration->driver($dummy_driver);
Expand Down

0 comments on commit bb89537

Please sign in to comment.