Skip to content

Commit 3db6819

Browse files
committed
Fix absolute path assertion for Windows in PluginDiscoveryTest
1 parent 492ddbb commit 3db6819

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/MailMimeParser/PluginDiscoveryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public function testReturnsAbsolutePath() : void
170170
$result = MailMimeParser::readPluginConfigPath($packageDir);
171171

172172
$this->assertNotNull($result);
173-
$this->assertTrue(\str_starts_with($result, '/'), 'Expected an absolute path');
173+
$this->assertTrue($result === \realpath($result), 'Expected an absolute path');
174174
}
175175

176176
public function testReturnsNullForNonexistentPackageDir() : void

0 commit comments

Comments
 (0)