You are here

function RegistrationTestCase::resetRegistration in Entity Registration 7

Same name and namespace in other branches
  1. 8.2 tests/registration.test \RegistrationTestCase::resetRegistration()
  2. 7.2 tests/registration.test \RegistrationTestCase::resetRegistration()

Reset session cache of registration entities.

4 calls to RegistrationTestCase::resetRegistration()
RegistrationStandardTestCase::testRegistrationForm in tests/registration.test
Tests for the registration add/edit form.
RegistrationStandardTestCase::testRegistrationHostDelete in tests/registration.test
RegistrationStandardTestCase::testRegistrationType in tests/registration.test
Tests if registration type is set.
RegistrationTestCase::loadRegistration in tests/registration.test
Loads a registration from the database, avoiding the cache.

File

tests/registration.test, line 97
Tests for the Registration module

Class

RegistrationTestCase
@file Tests for the Registration module

Code

function resetRegistration() {
  entity_get_controller('registration')
    ->resetCache();
}