You are here

public static function AcquiaLiftAPI::reset in Acquia Lift Connector 7.2

Same name and namespace in other branches
  1. 7 includes/acquia_lift.classes.inc \AcquiaLiftAPI::reset()

Resets the singleton instance.

Used in unit tests.

2 calls to AcquiaLiftAPI::reset()
AcquiaLiftTest::testGetInstance in tests/AcquiaLiftAPI.test
Tests getting a AcquiaLiftAPI instance with invalid and valid credentials.
AcquiaLiftTest::testGetInstanceWithAPIUrl in tests/AcquiaLiftAPI.test
Tests getting a AcquiaLiftAPI instance that uses the default API url.

File

includes/AcquiaLiftAPI.inc, line 145

Class

AcquiaLiftAPI

Code

public static function reset() {
  self::$instance = NULL;
}