diff options
Diffstat (limited to 'phinx-tests.patch')
-rw-r--r-- | phinx-tests.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/phinx-tests.patch b/phinx-tests.patch new file mode 100644 index 0000000..5db1090 --- /dev/null +++ b/phinx-tests.patch @@ -0,0 +1,24 @@ +diff -up tests/Phinx/Console/Command/CreateTest.php.old tests/Phinx/Console/Command/CreateTest.php +--- tests/Phinx/Console/Command/CreateTest.php.old 2017-12-23 17:43:31.217652943 +0100 ++++ tests/Phinx/Console/Command/CreateTest.php 2017-12-23 17:43:39.896696824 +0100 +@@ -384,7 +384,7 @@ class CreateTest extends TestCase + { + if (method_exists($this, 'expectException')) { + //PHPUnit 5+ +- $this->expectException($exception); ++ $this->expectException($exceptionName); + if ($exceptionMessage !== '') { + $this->expectExceptionMessage($exceptionMessage); + } +diff -up tests/Phinx/Migration/ManagerTest.php.old tests/Phinx/Migration/ManagerTest.php +--- tests/Phinx/Migration/ManagerTest.php.old 2017-12-23 17:43:18.862590475 +0100 ++++ tests/Phinx/Migration/ManagerTest.php 2017-12-23 17:43:34.709670598 +0100 +@@ -5710,7 +5710,7 @@ class ManagerTest extends TestCase + { + if (method_exists($this, 'expectException')) { + //PHPUnit 5+ +- $this->expectException($exception); ++ $this->expectException($exceptionName); + if ($exceptionMessage !== '') { + $this->expectExceptionMessage($exceptionMessage); + } |