summaryrefslogtreecommitdiffstats
path: root/php-composer-installers-pr226.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-composer-installers-pr226.patch')
-rw-r--r--php-composer-installers-pr226.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/php-composer-installers-pr226.patch b/php-composer-installers-pr226.patch
new file mode 100644
index 0000000..cd80d26
--- /dev/null
+++ b/php-composer-installers-pr226.patch
@@ -0,0 +1,23 @@
+From c1507c6d096bf513678fb62aa3e9fa2ad913b6f7 Mon Sep 17 00:00:00 2001
+From: Fabian Vogler <fabian@equivalence.ch>
+Date: Wed, 18 Mar 2015 18:22:52 +0100
+Subject: [PATCH] Fix PHPUnit check in CakePHPInstallerTest
+
+Fix tests on Travis CI
+---
+ tests/Composer/Installers/Test/CakePHPInstallerTest.php | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/Composer/Installers/Test/CakePHPInstallerTest.php b/tests/Composer/Installers/Test/CakePHPInstallerTest.php
+index 976bd9b..523e847 100644
+--- a/tests/Composer/Installers/Test/CakePHPInstallerTest.php
++++ b/tests/Composer/Installers/Test/CakePHPInstallerTest.php
+@@ -100,7 +100,7 @@ public function testGetLocations() {
+
+ $this->setCakephpVersion($rm, '~8.8');
+ $result = $installer->getLocations();
+- $this->assertEquals('vendor/{$vendor}/{$name}/', $result['plugin']);
++ $this->assertContains('vendor/{$vendor}/{$name}/', $result['plugin']);
+ }
+
+ protected function setCakephpVersion($rm, $version) {