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,7 +361,7 @@ class CMISTestCase extends KTUnitTestCase {
361 // TEST 3 361 // TEST 3
362 // test creation of document 362 // test creation of document
363 $folderId = 'F'.$this->folders[0]; 363 $folderId = 'F'.$this->folders[0];
364 - $folderId = 'F1'; 364 +// $folderId = 'F1';
365 $properties = array('name' => 'Test CMIS Document 1', 'title' => 'test_cmis_doc_' . mt_rand() . '.txt'); 365 $properties = array('name' => 'Test CMIS Document 1', 'title' => 'test_cmis_doc_' . mt_rand() . '.txt');
366 $contentStream = base64_encode('Some arbitrary text content'); 366 $contentStream = base64_encode('Some arbitrary text content');
367 $created = $ObjectService->createDocument($repositoryId, 'Document', $properties, $folderId, $contentStream); 367 $created = $ObjectService->createDocument($repositoryId, 'Document', $properties, $folderId, $contentStream);
@@ -400,7 +400,7 @@ class CMISTestCase extends KTUnitTestCase { @@ -400,7 +400,7 @@ class CMISTestCase extends KTUnitTestCase {
400 // } 400 // }
401 401
402 // delete created document 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 // tear down the folder/doc tree structure with which we were testing 405 // tear down the folder/doc tree structure with which we were testing
406 $this->cleanupFolderDocStructure(); 406 $this->cleanupFolderDocStructure();