App\Functional\Api\V1\Controllers\SignUpControllerTest::testSignUpSuccessfullyWithTokenRelease PHP Метод

testSignUpSuccessfullyWithTokenRelease() публичный Метод

    public function testSignUpSuccessfullyWithTokenRelease()
    {
        Config::set('boilerplate.sign_up.release_token', true);
        $this->post('api/auth/signup', ['name' => 'Test User', 'email' => '[email protected]', 'password' => '123456'])->seeJsonStructure(['status', 'token'])->seeJson(['status' => 'ok'])->assertResponseStatus(201);
    }