function testItValidatesNeedToUpdate() { update_option('wplog_database_version', 0); $wpldb = new Database(); $this->assertTrue($wpldb->needsToUpdateDatabase()); }