Commit 2c7419de4411d818386f682c2995c2ee06ed8d7f

Authored by Megan Watson
1 parent b6d5bd9a

Uncommented tests.

Committed by: Megan Watson
Showing 1 changed file with 12 additions and 12 deletions
tests/runtests.php
@@ -14,11 +14,11 @@ class UnitTests extends TestSuite { @@ -14,11 +14,11 @@ class UnitTests extends TestSuite {
14 // Some of these tests will fail if Electronic Signatures are enabled for the API. 14 // Some of these tests will fail if Electronic Signatures are enabled for the API.
15 // To fix, check the failing functions and add 'admin', 'admin' as username and password, 15 // To fix, check the failing functions and add 'admin', 'admin' as username and password,
16 // and where necessary send 'Testing API' as a reason 16 // and where necessary send 'Testing API' as a reason
17 -// $this->addFile('api/testApi.php');  
18 -// $this->addFile('api/testAuto.php');  
19 -// $this->addFile('api/testSavedSearches.php');  
20 -// $this->addFile('api/testAcl.php');  
21 -// $this->addFile('api/testAuthentication.php'); 17 + $this->addFile('api/testApi.php');
  18 + $this->addFile('api/testAuto.php');
  19 + $this->addFile('api/testSavedSearches.php');
  20 + $this->addFile('api/testAcl.php');
  21 + $this->addFile('api/testAuthentication.php');
22 22
23 // the next two appear to not use the ktapi functions which require signatures, 23 // the next two appear to not use the ktapi functions which require signatures,
24 // e.g. the move function is called directly on the document ($document->move()) 24 // e.g. the move function is called directly on the document ($document->move())
@@ -26,17 +26,17 @@ class UnitTests extends TestSuite { @@ -26,17 +26,17 @@ class UnitTests extends TestSuite {
26 // 26 //
27 // Additionally testDocument fails on 3 tests whether API Signatures are on or off: 27 // Additionally testDocument fails on 3 tests whether API Signatures are on or off:
28 // Method: testGetMetadata 28 // Method: testGetMetadata
29 -// $this->addFile('api/testDocument.php');  
30 -// $this->addFile('api/testFolder.php'); 29 + $this->addFile('api/testDocument.php');
  30 + $this->addFile('api/testFolder.php');
31 31
32 -// $this->addFile('api/testBulkActions.php');  
33 -// $this->addFile('api/testCollection.php');  
34 -  
35 - // While the original tests for esignatures have been set up to work 32 + $this->addFile('api/testBulkActions.php');
  33 + $this->addFile('api/testCollection.php');
  34 +
  35 + // While the original tests for esignatures have been set up to work
36 // if Electronic Signatures are NOT enabled for the API, new tests may not 36 // if Electronic Signatures are NOT enabled for the API, new tests may not
37 // include the check which allows the tests to be bypassed when esignatures 37 // include the check which allows the tests to be bypassed when esignatures
38 // are not on, so if you have failures, check there first :) 38 // are not on, so if you have failures, check there first :)
39 -// $this->addFile('api/testElectronicSignatures.php'); 39 + $this->addFile('api/testElectronicSignatures.php');
40 40
41 // $this->addFile('SQLFile/test_sqlfile.php'); 41 // $this->addFile('SQLFile/test_sqlfile.php');
42 // $this->addFile('cache/testCache.php'); 42 // $this->addFile('cache/testCache.php');