Skip to content

Commit 30d4aab

Browse files
committed
🎨
1 parent 729bebb commit 30d4aab

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

tests/Unit/VersionFeatureValidationTest.php

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -430,11 +430,17 @@
430430
$draft202012Schema = Schema::string('test', SchemaVersion::Draft_2020_12);
431431

432432
expect(fn(): StringSchema => $draft07Schema->contentEncoding('base64'))->not->toThrow(SchemaException::class);
433-
expect(fn(): StringSchema => $draft07Schema->contentMediaType('application/json'))->not->toThrow(SchemaException::class);
433+
expect(fn(): StringSchema => $draft07Schema->contentMediaType('application/json'))->not->toThrow(
434+
SchemaException::class,
435+
);
434436
expect(fn(): StringSchema => $draft201909Schema->contentEncoding('base64'))->not->toThrow(SchemaException::class);
435-
expect(fn(): StringSchema => $draft201909Schema->contentMediaType('application/json'))->not->toThrow(SchemaException::class);
437+
expect(fn(): StringSchema => $draft201909Schema->contentMediaType('application/json'))->not->toThrow(
438+
SchemaException::class,
439+
);
436440
expect(fn(): StringSchema => $draft202012Schema->contentEncoding('base64'))->not->toThrow(SchemaException::class);
437-
expect(fn(): StringSchema => $draft202012Schema->contentMediaType('application/json'))->not->toThrow(SchemaException::class);
441+
expect(fn(): StringSchema => $draft202012Schema->contentMediaType('application/json'))->not->toThrow(
442+
SchemaException::class,
443+
);
438444
});
439445

440446
it('allows string formats for custom validation', function (): void {

0 commit comments

Comments
 (0)