CakeDC\Users\Test\TestCase\Auth\ApiKeyAuthenticateTest::testAuthenticateDefaultAllFinder PHP Метод

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

test
public testAuthenticateDefaultAllFinder ( ) : void
Результат void
    public function testAuthenticateDefaultAllFinder()
    {
        Configure::write('Auth.authenticate.all.finder', null);
        $request = new Request('/?api_key=yyy');
        $result = $this->apiKey->authenticate($request, new Response());
        $this->assertEquals('user-1', $result['username']);
    }