diff options
Diffstat (limited to 'engine/tests')
-rw-r--r-- | engine/tests/services/api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/tests/services/api.php b/engine/tests/services/api.php index 66fff268d..28a7a64bc 100644 --- a/engine/tests/services/api.php +++ b/engine/tests/services/api.php @@ -257,7 +257,7 @@ class ElggCoreServicesApiTest extends ElggCoreUnitTest { // api key methods
public function testApiAuthenticate() {
- $this->assertFalse(api_authenticate());
+ $this->assertFalse(pam_authenticate(null, "api"));
}
public function testApiAuthKeyNoKey() {
|