mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-22 17:11:07 +00:00
CS
This commit is contained in:
parent
b3d85e69e9
commit
64a5a6cfc5
3 changed files with 3 additions and 3 deletions
|
@ -983,7 +983,7 @@ class EntryRestControllerTest extends WallabagApiTestCase
|
|||
|
||||
$content = json_decode($this->client->getResponse()->getContent(), true);
|
||||
|
||||
$this->assertSame(false, $content['exists']);
|
||||
$this->assertFalse($content['exists']);
|
||||
}
|
||||
|
||||
public function testGetEntriesExistsWithNoUrl()
|
||||
|
|
|
@ -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());
|
||||
|
|
|
@ -51,7 +51,7 @@ class ContentProxyTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertEmpty($entry->getMimetype());
|
||||
$this->assertEmpty($entry->getLanguage());
|
||||
$this->assertSame(0.0, $entry->getReadingTime());
|
||||
$this->assertSame(null, $entry->getDomainName());
|
||||
$this->assertNull($entry->getDomainName());
|
||||
}
|
||||
|
||||
public function testWithEmptyContent()
|
||||
|
|
Loading…
Reference in a new issue