From 989bdcf24e70d51e0f270d99316c19d4354521b6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 13 Jun 2016 17:09:38 +0200 Subject: php-mnapoli-phpunit-easymock: patch for latest PHPUNit --- php-mnapoli-phpunit-easymock-pr5.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 php-mnapoli-phpunit-easymock-pr5.patch (limited to 'php-mnapoli-phpunit-easymock-pr5.patch') diff --git a/php-mnapoli-phpunit-easymock-pr5.patch b/php-mnapoli-phpunit-easymock-pr5.patch new file mode 100644 index 0000000..662f4f3 --- /dev/null +++ b/php-mnapoli-phpunit-easymock-pr5.patch @@ -0,0 +1,22 @@ +From 63a5d09b77a59b2c51b32eb3cead274efdccb6af Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Mon, 13 Jun 2016 16:56:47 +0200 +Subject: [PATCH] fix typo in test + +--- + tests/EasyMockTest.php | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/EasyMockTest.php b/tests/EasyMockTest.php +index cfddc9e..68f285a 100644 +--- a/tests/EasyMockTest.php ++++ b/tests/EasyMockTest.php +@@ -138,7 +138,7 @@ public function should_allow_to_spy_method_calls() + $mock->__phpunit_verify(); + $this->fail('Exception not thrown'); + } catch (\PHPUnit_Framework_ExpectationFailedException $e) { +- $this->assertContains('Expected invocation at least once but it never occured', $e->getMessage()); ++ $this->assertContains('Expected invocation at least once but it never occur', $e->getMessage()); + } + + // Invoke the mock: the test should now pass -- cgit