From 2c7419de4411d818386f682c2995c2ee06ed8d7f Mon Sep 17 00:00:00 2001 From: Megan Watson Date: Wed, 23 Sep 2009 10:31:30 +0200 Subject: [PATCH] Uncommented tests. --- tests/runtests.php | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/runtests.php b/tests/runtests.php index f000978..be73a73 100644 --- a/tests/runtests.php +++ b/tests/runtests.php @@ -14,11 +14,11 @@ class UnitTests extends TestSuite { // Some of these tests will fail if Electronic Signatures are enabled for the API. // To fix, check the failing functions and add 'admin', 'admin' as username and password, // and where necessary send 'Testing API' as a reason -// $this->addFile('api/testApi.php'); -// $this->addFile('api/testAuto.php'); -// $this->addFile('api/testSavedSearches.php'); -// $this->addFile('api/testAcl.php'); -// $this->addFile('api/testAuthentication.php'); + $this->addFile('api/testApi.php'); + $this->addFile('api/testAuto.php'); + $this->addFile('api/testSavedSearches.php'); + $this->addFile('api/testAcl.php'); + $this->addFile('api/testAuthentication.php'); // the next two appear to not use the ktapi functions which require signatures, // e.g. the move function is called directly on the document ($document->move()) @@ -26,17 +26,17 @@ class UnitTests extends TestSuite { // // Additionally testDocument fails on 3 tests whether API Signatures are on or off: // Method: testGetMetadata -// $this->addFile('api/testDocument.php'); -// $this->addFile('api/testFolder.php'); + $this->addFile('api/testDocument.php'); + $this->addFile('api/testFolder.php'); -// $this->addFile('api/testBulkActions.php'); -// $this->addFile('api/testCollection.php'); - - // While the original tests for esignatures have been set up to work + $this->addFile('api/testBulkActions.php'); + $this->addFile('api/testCollection.php'); + + // While the original tests for esignatures have been set up to work // if Electronic Signatures are NOT enabled for the API, new tests may not // include the check which allows the tests to be bypassed when esignatures // are not on, so if you have failures, check there first :) -// $this->addFile('api/testElectronicSignatures.php'); + $this->addFile('api/testElectronicSignatures.php'); // $this->addFile('SQLFile/test_sqlfile.php'); // $this->addFile('cache/testCache.php'); -- libgit2 0.21.4