From c1507c6d096bf513678fb62aa3e9fa2ad913b6f7 Mon Sep 17 00:00:00 2001 From: Fabian Vogler 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) {