Skip to content

Commit 8a57430

Browse files
authored
Merge pull request #41 from matthiasnoback/bugfix/readme-test-example
Add assertion count into README test example
2 parents 7934efe + 5acca7d commit 8a57430

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,10 @@ class ContainerServiceDefinitionsTest extends WebTestCase
127127
public function validateServiceDefinitions()
128128
{
129129
$kernel = static::createKernel();
130-
131130
$kernel->boot();
131+
132+
// Add assertion to phpunit count which will prevent marking test as "risky"
133+
$this->addToAssertionCount(1);
132134
}
133135
}
134136
```

0 commit comments

Comments
 (0)