diff options
author | Remi Collet <remi@remirepo.net> | 2017-12-23 17:55:05 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-12-23 17:55:05 +0100 |
commit | 89bc3e4440e059a9b2178558bcc01a1a77d82a2a (patch) | |
tree | 5fa24db8587081ef8bf11e6b0c5b19b53e49c010 /phinx-tests.patch | |
parent | 75a7c6f81389f8ca35fef2676a453f034884c683 (diff) |
Update to 0.9.2
open https://github.com/cakephp/phinx/pull/1278 fix tests
use phpunit6 on Fedora
allow Symfony 4
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); + } |