Skip to content

Commit 971dbab

Browse files
authored
Minor test adjustments (#94)
- Updates gitignored directory for PHPUnit updates - Finds test vector files relative to the test file's location
1 parent fa24407 commit 971dbab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
/vendor/
22
/composer.lock
33
/examples/vendor/
4-
/.phpunit.result.cache
4+
/.phpunit.cache

tests/IntegrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function testAuth(string $dir): void
8686
*/
8787
public static function vectors(): array
8888
{
89-
$dirs = glob('tests/integration/*');
89+
$dirs = glob(__DIR__ . '/integration/*');
9090
assert($dirs !== false);
9191
$out = [];
9292
foreach ($dirs as $dir) {

0 commit comments

Comments
 (0)