This commit is contained in:
Jeremy Benoist
2017-11-21 10:30:35 +01:00
parent b3d85e69e9
commit 64a5a6cfc5
3 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ class GrabySiteConfigBuilderTest extends \PHPUnit_Framework_TestCase
$config = $this->builder->buildForHost('www.example.com');
$this->assertSame('example.com', $config->getHost());
$this->assertSame(true, $config->requiresLogin());
$this->assertTrue($config->requiresLogin());
$this->assertSame('http://www.example.com/login', $config->getLoginUri());
$this->assertSame('login', $config->getUsernameField());
$this->assertSame('password', $config->getPasswordField());