Bolt\Tests\TokenGeneratorTest::testNullUserAgent PHP Method

testNullUserAgent() public method

public testNullUserAgent ( )
    public function testNullUserAgent()
    {
        $username = 'koala';
        $salt = 'vinagre';
        $remoteIP = '8.8.8.8';
        $hostName = 'tests.bolt.cm';
        $userAgent = null;
        $cookieOptions = ['remoteaddr' => true, 'httphost' => true, 'browseragent' => true];
        new Generator($username, $salt, $remoteIP, $hostName, $userAgent, $cookieOptions);
    }