PhilipBrown\Signature\Tests\AuthTest::should_return_true_on_successful_authentication PHP Method

should_return_true_on_successful_authentication() public method

    public function should_return_true_on_successful_authentication()
    {
        $auth = new Auth('POST', 'users', $this->params, [new CheckKey(), new CheckVersion(), new CheckTimestamp(), new CheckSignature()]);
        $this->assertTrue($auth->attempt($this->token));
    }