App\Functional\Api\V1\Controllers\LoginControllerTest::testLoginSuccessfully PHP Method

testLoginSuccessfully() public method

    public function testLoginSuccessfully()
    {
        $this->post('api/auth/login', ['email' => '[email protected]', 'password' => '123456'])->seeJson(['status' => 'ok'])->seeJsonStructure(['status', 'token'])->assertResponseOk();
    }