src/Concerns/MakesHttpRequests.php
public function assertResponseOk()
    {
        $actual = $this->response->getStatusCode();

        PHPUnit::assertTrue($this->response->isOk(), "Expected status code 200, got {$actual}.");

        return $this;
    }
public function assertResponseOk()
    {
        $actual = $this->response->getStatusCode();

        PHPUnit::assertTrue($this->response->isOk(), "Expected status code 200, got {$actual}.");

        return $this;
    }
public function assertResponseOk ( ) { $ actual = $ this -> response -> getStatusCode ( ) ; PHPUnit :: assertTrue ( $ this -> response -> isOk ( ) , "Expected status code 200, got {$actual}." ) ; return $ this ; }
Assert that the client response has an OK status code.

@return $this
Assert that the client response has an OK status code .