summaryrefslogtreecommitdiffstats
path: root/php-composer-installers-pr226.patch
blob: cd80d26871ceaeb821e67191db8c6872efc01a6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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) {