We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88b775b commit e04dca0Copy full SHA for e04dca0
tests/UserTest.php
@@ -14,6 +14,17 @@ public function it_accepts_an_array_of_steam_ids()
14
$this->assertEquals($this->id64, $userService->getSteamId()[0]);
15
}
16
17
+ /**
18
+ * @test
19
+ */
20
+ public function it_throws_an_exception_when_no_display_name_is_provided()
21
+ {
22
+ $this->setExpectedException('Syntax\SteamApi\Exceptions\UnrecognizedId');
23
+ $steamObject = $this->steamClient->user($this->id64)->ResolveVanityURL();
24
+
25
+ $this->assertEquals('No match', $steamObject);
26
+ }
27
28
/** @test */
29
public function it_returns_no_match_from_an_invalid_display_name()
30
{
0 commit comments