Skip to content

Commit 3aece6a

Browse files
committed
fix: Avoided dependency on full path.
1 parent aea2050 commit 3aece6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/CreditsUsercaseTest.php renamed to test/integration/CreditsUsecaseTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public function testThisProject(): void
1515

1616
$this->assertSame('psr/container', $licenses[0]->getName());
1717
$this->assertSame('https://github.com/php-fig/container', $licenses[0]->getUrl());
18-
$this->assertSame('/usr/src/vendor/psr/container/LICENSE', $licenses[0]->getPath());
18+
$this->assertMatchesRegularExpression('@/vendor/psr/container/LICENSE$@', $licenses[0]->getPath());
1919
$this->assertMatchesRegularExpression('/Copyright \(c\) 2013-2016 container-interop/', $licenses[0]->getContent());
2020
$this->assertMatchesRegularExpression('/Copyright \(c\) 2016 PHP Framework Interoperability Group/', $licenses[0]->getContent());
2121
}

0 commit comments

Comments
 (0)