Skip to content

Commit bf115e7

Browse files
author
Michele Orselli
committed
fixes file path
1 parent d6a8c74 commit bf115e7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/unit/LicenceYearTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ class LicenceYearTest extends \PHPUnit_Framework_TestCase
66
{
77
public function testConstructor()
88
{
9-
$license = explode("\n", file_get_contents('./LICENSE.txt'));
9+
$rootDir = __DIR__ . '/../..';
10+
11+
$license = explode("\n", file_get_contents("$rootDir/LICENSE.txt"));
1012
$copyright = $license[2];
1113

1214
$year = date('Y');

0 commit comments

Comments
 (0)