diff options
Diffstat (limited to 'mockery-tests.patch')
-rw-r--r-- | mockery-tests.patch | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mockery-tests.patch b/mockery-tests.patch index 4955127..3019204 100644 --- a/mockery-tests.patch +++ b/mockery-tests.patch @@ -1,7 +1,7 @@ -diff -up tests/Bootstrap.php.rpm tests/Bootstrap.php ---- tests/Bootstrap.php.rpm 2018-01-22 10:30:27.396051495 +0100 -+++ tests/Bootstrap.php 2018-01-22 10:36:43.834985419 +0100 -@@ -50,11 +50,7 @@ if (!file_exists($autoloadPath)) { +diff -up ./tests/Bootstrap.php.rpm ./tests/Bootstrap.php +--- ./tests/Bootstrap.php.rpm 2018-05-08 10:54:48.000000000 +0200 ++++ ./tests/Bootstrap.php 2018-05-13 10:39:38.471383840 +0200 +@@ -50,11 +50,9 @@ if (!file_exists($autoloadPath)) { require_once $autoloadPath; @@ -10,6 +10,8 @@ diff -up tests/Bootstrap.php.rpm tests/Bootstrap.php - $hamcrestRelativePath = str_replace('/', DIRECTORY_SEPARATOR, $hamcrestRelativePath); -} -$hamcrestPath = $composerVendorDirectory . DIRECTORY_SEPARATOR . $hamcrestRelativePath; ++require_once __DIR__ . '/classmap.php'; ++ +$hamcrestPath = '/usr/share/php/Hamcrest2/Hamcrest.php'; require_once $hamcrestPath; |