1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Sun, 30 Jun 2019 15:43:58 -1000
Subject: Use system path
We use the library from the package, not the one installed via Composer.
Forwarded: not-needed
---
tests/Bootstrap.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php
index e6ac557..7d61c41 100644
--- a/tests/Bootstrap.php
+++ b/tests/Bootstrap.php
@@ -57,6 +57,7 @@ if (DIRECTORY_SEPARATOR !== '/') {
$hamcrestRelativePath = str_replace('/', DIRECTORY_SEPARATOR, $hamcrestRelativePath);
}
$hamcrestPath = $composerVendorDirectory . DIRECTORY_SEPARATOR . $hamcrestRelativePath;
+$hamcrestPath = 'Hamcrest.php';
require_once $hamcrestPath;
|