blob: 5db1090415a9c2ba0ba9184336472e1d16fa74a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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);
}
|