RetailMeNot / TestRailSDK

TestRail integration with Java WebDriver implementation.
MIT License
25 stars 27 forks source link

bad http requests #29

Closed macdema closed 8 years ago

macdema commented 8 years ago

The following is actually appending null to the http request causing it to fail

public List<TestInstance> getTests(int testRunId, ApiFilterValue... statusId) {
        return getEntityList(TestInstance.class, TestRailCommand.GET_TESTS.getCommand(), Integer.toString(testRunId) + (statusId.length > 0 ? statusId[0].append() : null));
    }
vinceis1337 commented 8 years ago

On it.