[packages/composer] skip tests that do not work on old phpunit we have in repo
glen
glen at pld-linux.org
Mon Mar 21 14:47:02 CET 2016
commit 28140a870982d31f6bf6c17bc2109a29dc3f5a6e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Mar 21 15:46:50 2016 +0200
skip tests that do not work on old phpunit we have in repo
composer.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/composer.spec b/composer.spec
index a3198aa..c9549a4 100644
--- a/composer.spec
+++ b/composer.spec
@@ -113,12 +113,16 @@ find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
# needs newer phpunit:
# missing method PHPUnit_Framework_MockObject_Builder_InvocationMocker::willReturn()
+rm tests/Composer/Test/ApplicationTest.php
rm tests/Composer/Test/EventDispatcher/EventDispatcherTest.php
rm tests/Composer/Test/IO/ConsoleIOTest.php
rm tests/Composer/Test/Package/Loader/RootPackageLoaderTest.php
rm tests/Composer/Test/Package/RootAliasPackageTest.php
rm tests/Composer/Test/Package/Version/VersionGuesserTest.php
rm tests/Composer/Test/Util/GitHubTest.php
+rm tests/Composer/Test/Util/GitLabTest.php
+# Call to undefined method Composer\Test\Repository\Vcs\GitLabDriverTest::prophesize()
+rm tests/Composer/Test/Repository/Vcs/GitLabDriverTest.php
%build
%if %{with tests}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/composer.git/commitdiff/28140a870982d31f6bf6c17bc2109a29dc3f5a6e
More information about the pld-cvs-commit
mailing list