diff --git a/tests/Framework/Ldap.php b/tests/Framework/Ldap.php index 5034a83d780..b666955c33f 100644 --- a/tests/Framework/Ldap.php +++ b/tests/Framework/Ldap.php @@ -23,9 +23,9 @@ function test_class() $this->markTestSkipped('The ldap extension is not available.'); } - StdErrMock::start(); + StderrMock::start(); $object = new rcube_ldap([]); - StdErrMock::stop(); + StderrMock::stop(); $this->assertInstanceOf('rcube_ldap', $object, "Class constructor"); $this->assertSame('ERROR: Could not connect to any LDAP server', trim(StderrMock::$output));