Skip to content

Commit

Permalink
Update deprecated test assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
malberts committed Dec 21, 2024
1 parent c224fcc commit dd68b20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions tests/phpunit/Integration/I18nJsonFileIntegrityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@ public function testI18NJsonDecodeEncode( $file ) {

$jsonFileReader = UtilityFactory::getInstance()->newJsonFileReader( $file );

$this->assertInternalType(
'integer',
$this->assertIsInt(
$jsonFileReader->getModificationTime()
);

$this->assertInternalType(
'array',
$this->assertIsArray(
$jsonFileReader->read()
);
}
Expand Down
3 changes: 1 addition & 2 deletions tests/phpunit/Unit/Api/CompoundQueryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ public function testExecute( array $query, array $expected ) {
'query' => implode( '|', $query )
] );

$this->assertInternalType(
'array',
$this->assertIsArray(
$results
);

Expand Down

0 comments on commit dd68b20

Please sign in to comment.