Skip to content

Commit db8e89a

Browse files
committed
test: aliases
1 parent f0cc7f4 commit db8e89a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

tests/Feature/AliasTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,11 @@ public function testCanDeleteAlias(): void
3636
$this->expectException(ObjectNotFound::class);
3737
$this->client()->aliases['companies']->retrieve();
3838
}
39+
40+
public function testCanRetrieveAllAliases(): void
41+
{
42+
$response = $this->client()->aliases->retrieve();
43+
44+
$this->assertEquals(['aliases' => [0 => $this->sampleAliasResponse]], $response);
45+
}
3946
}

0 commit comments

Comments
 (0)