<?php
require_once('../utils/phpunit.phar');
require_once('../../atom/cmis-lib.php');
class AlfrescoCMISH2Test extends PHPUnit_Framework_TestCase
{
	protected $client;
	protected function setUp() {
		$repo_url = "http://localhost:8080/alfresco/cmisatom";
		$repo_username = "admin";
		$repo_password = "admin";
		$this->client = new CMISService($repo_url, $repo_username, $repo_password);
	}
	public function testGetSites() {
		$folder = $this->client->getObjectByPath("/Sites");
		$this->assertEquals("F:st:sites",$folder->properties["cmis:objectTypeId"]);
		$this->assertEquals("cmis:folder",$folder->properties["cmis:baseTypeId"]);
	}
}
?>

Add a placeholder unit test
Add a placeholder unit test


git-svn-id: b877033504b8e832e080652813009f8744ba2601@1499189 13f79535-47bb-0310-9956-ffa450edef68
