Skip to content

Commit 97bfbf2

Browse files
authored
fix(discovery): pass real paths to discovery classes (#1053)
1 parent 6992b70 commit 97bfbf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tempest/Core/src/Kernel/LoadDiscoveryClasses.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ private function buildDiscovery(string $discoveryClass): Discovery
139139
}
140140
} elseif ($discovery instanceof DiscoversPath) {
141141
// If the input is NOT a class, AND the discovery class can discover paths, we'll call `discoverPath`
142-
$discovery->discoverPath($location, $input);
142+
$discovery->discoverPath($location, realpath($input));
143143
}
144144
}
145145
}

0 commit comments

Comments
 (0)