diff --git a/tests/V2/PvpEndpointTest.php b/tests/V2/PvpEndpointTest.php new file mode 100644 index 0000000..8767f21 --- /dev/null +++ b/tests/V2/PvpEndpointTest.php @@ -0,0 +1,13 @@ +api()->pvp('API_KEY'); + + $this->assertEndpointUrl( 'v2/pvp', $endpoint ); + $this->assertEndpointIsAuthenticated( $endpoint ); + + $this->assertInstanceOf( '\GW2Treasures\GW2Api\V2\Endpoint\Pvp\GameEndpoint', $endpoint->games() ); + $this->assertInstanceOf( '\GW2Treasures\GW2Api\V2\Endpoint\Pvp\StatsEndpoint', $endpoint->stats() ); + } +}