|
15 | 15 | use SimpleSAML\Assert\Assert; |
16 | 16 | use SimpleSAML\Assert\AssertionFailedException; |
17 | 17 | use SimpleSAML\Test\Utils\TestClass; |
| 18 | +use SimpleSAML\Test\Utils\TestEnum; |
18 | 19 | use stdClass; |
19 | 20 |
|
20 | 21 | use function opendir; |
@@ -143,13 +144,16 @@ public static function provideValue(): array |
143 | 144 |
|
144 | 145 | $resource = opendir(sys_get_temp_dir()); |
145 | 146 |
|
| 147 | + $enum = TestEnum::PHPUnit; |
| 148 | + |
146 | 149 | return [ |
147 | 150 | 'null' => [null, 'null'], |
148 | 151 | 'true' => [true, 'true'], |
149 | 152 | 'false' => [false, 'false'], |
150 | 153 | 'array' => [[], 'array'], |
151 | 154 | 'Stringable' => [$stringable, 'SimpleSAML\Test\Utils\TestClass: "phpunit"'], |
152 | 155 | 'DateTime' => [$dateTime, 'DateTimeImmutable: "2000-01-01T00:00:00+00:00"'], |
| 156 | + 'Enum' => [$enum, 'SimpleSAML\Test\Utils\TestEnum::PHPUnit'], |
153 | 157 | 'object' => [$otherObject, 'stdClass'], |
154 | 158 | 'resource' => [$resource, 'resource'], |
155 | 159 | 'string' => ['string', '"string"'], |
|
0 commit comments