Skip to content

Commit 3c33ff2

Browse files
author
Willem Stuursma
committed
Use Comparator in internal tests
1 parent 2d72a4c commit 3c33ff2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
processIsolation="false"
1212
stopOnFailure="false"
1313
syntaxCheck="false"
14-
bootstrap="./vendor/autoload.php">
14+
bootstrap="./tests/bootstrap.php">
1515
<testsuites>
1616
<testsuite name="PHP Enum Test Suite">
1717
<directory suffix=".php">./tests</directory>

tests/bootstrap.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?php
2+
3+
\SebastianBergmann\Comparator\Factory::getInstance()->register(new \MyCLabs\Enum\PHPUnit\Comparator());

0 commit comments

Comments
 (0)