Skip to content

Commit 4166b93

Browse files
committed
Make test compatible for future PHPUnit version.
1 parent b9fa5f5 commit 4166b93

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/PlayerTest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ public function it_gets_the_steam_level_by_user_id()
88
{
99
$steamLevel = $this->steamClient->player($this->id64)->GetSteamLevel();
1010

11-
$this->assertIsInt($steamLevel);
11+
if (\method_exists($this, 'assertIsInt')) {
12+
$this->assertIsInt($steamLevel);
13+
} else {
14+
$this->assertInternalType('int', $steamLevel);
15+
}
1216
}
1317

1418
/** @test */

0 commit comments

Comments
 (0)