FOC\Authenticate\Auth\Test\TestCase\Auth\MultiColumnAuthenticateTest::testAuthenticateInjection PHP Метод

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

test the authenticate method
public testAuthenticateInjection ( ) : void
Результат void
    public function testAuthenticateInjection()
    {
        $request = new Request('posts/index');
        $request->data = ['user_name' => '> 1', 'password' => "' OR 1 = 1"];
        $this->assertFalse($this->auth->authenticate($request, $this->response));
    }