Commit 20df8f600eedfebe75ca8fb1988f8b5ac5b4ece8

Authored by Paul Barrett
1 parent 30d7fae3

Added change left out of last commit (Unit Tests delete file after testing)

Committed by: Paul Barrett
Showing 1 changed file with 2 additions and 2 deletions
tests/ktcmis/testCmisApi.php
... ... @@ -361,7 +361,7 @@ class CMISTestCase extends KTUnitTestCase {
361 361 // TEST 3
362 362 // test creation of document
363 363 $folderId = 'F'.$this->folders[0];
364   - $folderId = 'F1';
  364 +// $folderId = 'F1';
365 365 $properties = array('name' => 'Test CMIS Document 1', 'title' => 'test_cmis_doc_' . mt_rand() . '.txt');
366 366 $contentStream = base64_encode('Some arbitrary text content');
367 367 $created = $ObjectService->createDocument($repositoryId, 'Document', $properties, $folderId, $contentStream);
... ... @@ -400,7 +400,7 @@ class CMISTestCase extends KTUnitTestCase {
400 400 // }
401 401  
402 402 // delete created document
403   -// $this->ktapi->delete_document(CMISUtil::decodeObjectId($documentId), 'Testing API', false);
  403 + $this->ktapi->delete_document(CMISUtil::decodeObjectId($documentId), 'Testing API', false);
404 404  
405 405 // tear down the folder/doc tree structure with which we were testing
406 406 $this->cleanupFolderDocStructure();
... ...