From c6b61854bcdae87bed2d53ec202db8645368aae1 Mon Sep 17 00:00:00 2001 From: Jan Prieser Date: Thu, 13 Jun 2013 16:20:52 +0200 Subject: [PATCH] changed Test to make sure subfolder packages are found correctly --- .../Test/Repository/ArtifactRepositoryTest.php | 1 + .../artifacts/subfolder/not-an-artifact.zip | Bin 0 -> 4140 bytes .../Fixtures/artifacts/subfolder/package1.zip | Bin 0 -> 191 bytes 3 files changed, 1 insertion(+) create mode 100644 tests/Composer/Test/Repository/Fixtures/artifacts/subfolder/not-an-artifact.zip create mode 100644 tests/Composer/Test/Repository/Fixtures/artifacts/subfolder/package1.zip diff --git a/tests/Composer/Test/Repository/ArtifactRepositoryTest.php b/tests/Composer/Test/Repository/ArtifactRepositoryTest.php index ac1bcbbe4..5ffae515a 100644 --- a/tests/Composer/Test/Repository/ArtifactRepositoryTest.php +++ b/tests/Composer/Test/Repository/ArtifactRepositoryTest.php @@ -25,6 +25,7 @@ class ArtifactRepositoryTest extends TestCase 'vendor0/package0-0.0.1', 'composer/composer-1.0.0-alpha6', 'vendor1/package2-4.3.2', + 'vendor3/package1-5.4.3', ); $coordinates = array('type' => 'artifact', 'url' => __DIR__ . '/Fixtures/artifacts'); diff --git a/tests/Composer/Test/Repository/Fixtures/artifacts/subfolder/not-an-artifact.zip b/tests/Composer/Test/Repository/Fixtures/artifacts/subfolder/not-an-artifact.zip new file mode 100644 index 0000000000000000000000000000000000000000..3e788dcc25dee43047431a63c85c3b7217a8fdae GIT binary patch literal 4140 zcma)<2{=^iAIAs7m`O~ot*lctjAbk{vLpsGA+lvB*&wUu4-|eKVf}FgZysVSg2@fY_q=hvH0DIcn^gx8Q=@JtUz=X!&0kG4~sGJ`e zqMI`0bj=;j@xCYB=rBDR$dU%6!)DUU4mQa1VCS}Mk3@)HAc|xlD4;w85ZmQ>mIB!= z2%u@1`)I|(C-<~5`k=g>As1YQv6L`BK6NC(i&9_5#vB3hAso4Q&P7+@_7Zx>drI7% zHVVq&c=;n%Wz`kp3(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