From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Mon, 16 Nov 2015 21:46:49 -0400
Subject: Adapt /res path

Forwarded: not-needed
---
 src/SpdxLicenses.php       | 2 +-
 tests/SpdxLicensesTest.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/SpdxLicenses.php b/src/SpdxLicenses.php
index 7b94b24..f9a529b 100644
--- a/src/SpdxLicenses.php
+++ b/src/SpdxLicenses.php
@@ -213,7 +213,7 @@ class SpdxLicenses
      */
     public static function getResourcesDir()
     {
-        return dirname(__DIR__) . '/res';
+        return dirname(__DIR__) . '/../data/Composer/res';
     }
 
     /**
diff --git a/tests/SpdxLicensesTest.php b/tests/SpdxLicensesTest.php
index 1dceea8..7e90aea 100644
--- a/tests/SpdxLicensesTest.php
+++ b/tests/SpdxLicensesTest.php
@@ -78,7 +78,7 @@ class SpdxLicensesTest extends TestCase
 
         $this->assertEquals(
             realpath($dir),
-            realpath(__DIR__ . '/../res'),
+            realpath(__DIR__ . '/../../data/Composer/res'),
             'Expected resources directory to be "res" (relative to project root).'
         );
     }
