diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-09-08 09:27:46 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-09-08 09:27:46 +0200 |
commit | e87077265c08731a5460f644d75fd68a4edc17e0 (patch) | |
tree | 4266dde9c2ce4412055d39ecd2d5c3e6caea388a /php-composer-spdx-licenses-rpm.patch | |
parent | 33cc38bd3ea4c7be2da48cf59b1467c4c257d92b (diff) |
php-composer-spdx-licenses: 1.1.1
Diffstat (limited to 'php-composer-spdx-licenses-rpm.patch')
-rw-r--r-- | php-composer-spdx-licenses-rpm.patch | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/php-composer-spdx-licenses-rpm.patch b/php-composer-spdx-licenses-rpm.patch index 08bc3f6..3d8227e 100644 --- a/php-composer-spdx-licenses-rpm.patch +++ b/php-composer-spdx-licenses-rpm.patch @@ -1,6 +1,6 @@ diff -up src/SpdxLicenses.php.rpm src/SpdxLicenses.php ---- src/SpdxLicenses.php.rpm 2015-07-17 07:41:29.007308656 +0200 -+++ src/SpdxLicenses.php 2015-07-17 07:43:40.425973108 +0200 +--- src/SpdxLicenses.php.rpm 2015-09-08 09:17:14.000000000 +0200 ++++ src/SpdxLicenses.php 2015-09-08 09:19:33.416111340 +0200 @@ -178,7 +178,7 @@ class SpdxLicenses */ public static function getResourcesDir() @@ -10,3 +10,19 @@ diff -up src/SpdxLicenses.php.rpm src/SpdxLicenses.php } private function loadLicenses() +diff -up tests/SpdxLicensesTest.php.rpm tests/SpdxLicensesTest.php +--- tests/SpdxLicensesTest.php.rpm 2015-09-08 09:20:20.453342020 +0200 ++++ tests/SpdxLicensesTest.php 2015-09-08 09:21:51.442788249 +0200 +@@ -64,12 +64,6 @@ class SpdxLicensesTest extends \PHPUnit_ + is_dir($dir), + 'Expected resources directory to exist.' + ); +- +- $this->assertEquals( +- realpath($dir), +- realpath(__DIR__ . '/../res'), +- 'Expected resources directory to be "res" (relative to project root).' +- ); + } + + /** |