Skip to content

Commit a55334a

Browse files
authored
RepositoryNameAssertTest, use addToAssertionCount(1)
1 parent ab045e0 commit a55334a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/unit/Assert/RepositoryNameAssertTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function provideValidRepositoryNames() {
5050
*/
5151
public function testGivenValidValue_assertParameterIsValidRepositoryNamePasses( $value ) {
5252
RepositoryNameAssert::assertParameterIsValidRepositoryName( $value, 'test' );
53-
$this->assertTrue( true );
53+
$this->addToAssertionCount( 1 );
5454
}
5555

5656
public function provideInvalidRepositoryNameIndexedArrays() {
@@ -85,7 +85,7 @@ public function provideValidRepositoryNameIndexedArrays() {
8585
*/
8686
public function testGivenValidValue_assertParameterKeysAreValidRepositoryNamesPasses( array $values ) {
8787
RepositoryNameAssert::assertParameterKeysAreValidRepositoryNames( $values, 'test' );
88-
$this->assertTrue( true );
88+
$this->addToAssertionCount( 1 );
8989
}
9090

9191
}

0 commit comments

Comments
 (0)