function RegistrationTestCase::loadRegistration in Entity Registration 7
Same name and namespace in other branches
- 8.2 tests/registration.test \RegistrationTestCase::loadRegistration()
- 7.2 tests/registration.test \RegistrationTestCase::loadRegistration()
Loads a registration from the database, avoiding the cache.
Parameters
int $registration_id: A registrations' unique identifier.
1 call to RegistrationTestCase::loadRegistration()
- RegistrationStandardTestCase::testUserCancel in tests/
registration.test - Ensure registrations are processed when a user is cancelled.
File
- tests/
registration.test, line 89 - Tests for the Registration module
Class
- RegistrationTestCase
- @file Tests for the Registration module
Code
function loadRegistration($registration_id) {
$this
->resetRegistration();
return registration_load($registration_id);
}