$content = json_decode($this->client->getResponse()->getContent(), true);
- $this->assertSame(false, $content['exists']);
+ $this->assertFalse($content['exists']);
}
public function testGetEntriesExistsWithNoUrl()
$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());
$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()