PHP doesn't call it is_empty, but it does have is_null. Yay consistency.

This commit is contained in:
jgen 2014-02-18 16:14:57 -05:00
parent f12b32b5d9
commit cc88a33088

View file

@ -3,7 +3,7 @@
$options = getopt("d:");
$db = $options["d"];
if (is_empty($db)){
if (empty($db)){
die("Error: need to specifiy a database for the test environment.");
}
@ -22,7 +22,7 @@ class ShimmieSimpleTestCase extends WebTestCase {
function testInstallShimmie()
{
// Make sure that we know what database to use.
$this->assertFalse(is_empty($this->database));
$this->assertFalse(empty($this->database));
$this->get('http://127.0.0.1/');
$this->assertResponse(200);