Skip to content

Commit df411b1

Browse files
committed
Fix unit test to pass on Windows
1 parent b84f3e4 commit df411b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/src/Ticket/FileSystemTicketStoreTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function testPathTraversalCannotReadOrUnserializeOutsideTicketDirectory()
4747

4848
$this->expectException(Exception::class);
4949
$this->expectExceptionMessage('Invalid ticketId provided.');
50-
$store->getTicket('../' . basename($outsideFile));
50+
$store->getTicket('..' . DIRECTORY_SEPARATOR . basename($outsideFile));
5151
}
5252

5353

0 commit comments

Comments
 (0)