Fixing the Database::getDetails() test