Waavi/translation

Redundant getStatusCode() calls in tests

kkomelin opened this issue · 3 comments

$statusCode = $response->getStatusCode();

@sildraug It would be great if you somehow motivated your actions.

        $statusCode = $response->getStatusCode();
        $this->assertEquals(200, $response->getStatusCode());

Why do you need to call getStatusCode() twice?

@kkomelin This is not an issue. A pull request is welcome if it bothers you.

@sildraug Thanks for your reply. Good luck.