khinkali / sink

3 stars 1 forks source link

An API with allowed Coins #29

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hi @robertBrem We need an API with allowed Coins to provide for selection.

Thanks

Acceptance Criteria

    @Test(timeout = 2_000L)
    public void shouldReturnListOfCoins() throws IOException {
        String userId = System.getenv("APPLICATION_USER_ID");
        JsonArray coins = provider
                .target()
                .path("coins")
                .request()
                .header("Authorization", "Bearer " + getToken())
                .get(JsonArray.class);
        assertThat(toStringList(coins), hasItems("BTC", "ETH", "XRP"));
    }
robertBrem commented 6 years ago

implemented in 0.5.0

ghost commented 6 years ago

Awesome work. Thanks