assertEquals(1l, Activity.count("from Activity a where a.member = ?", member));
}
@Test
public void ticketingRegisteredStaff() {
Staff staff = Staff.all().first();
// Non activity for staff
assertNull(Activity.find("select a from Activity a where a.member = ?", staff).first());
staff.setTicketingRegistered(false);
staff.save();
// Still no activity for staff
assertNull(Activity.find("select a from Activity a where a.member = ?", staff).first());
staff.setTicketingRegistered(true);
staff.save();
// Still no activity for staf
assertNull(Activity.find("select a from Activity a where a.member = ?", staff).first());
}