test: use correct path for bridges (#3427)

This commit is contained in:
Dag 2023-06-08 23:44:26 +02:00 committed by GitHub
parent 8f9eaae338
commit ca351edbfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ class BridgeImplementationTest extends TestCase
public function dataBridgesProvider() public function dataBridgesProvider()
{ {
$bridges = []; $bridges = [];
foreach (glob(__DIR__ . '/../bridges/*Bridge.php') as $path) { foreach (glob(__DIR__ . '/../../bridges/*Bridge.php') as $path) {
$bridges[basename($path, '.php')] = [$path]; $bridges[basename($path, '.php')] = [$path];
} }
return $bridges; return $bridges;