Skip to content

Commit ed0b009

Browse files
committed
Fixing risky tests
Makring tests that have no assertions with the annotation to suppress phpunits warning around risky tests closes 1370
1 parent 689d132 commit ed0b009

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tests/Spec/JsonSerializerTest.php

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ public function testShouldImplementSerializerInterface()
2020
$this->assertClassImplements(Serializer::class, JsonSerializer::class);
2121
}
2222

23+
/**
24+
* @doesNotPerformAssertions
25+
*/
2326
public function testCouldBeConstructedWithoutAnyArguments()
2427
{
2528
new JsonSerializer();

0 commit comments

Comments
 (0)