mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-09-10 14:11:25 +00:00
18 lines
460 B
Java
18 lines
460 B
Java
package org.alfresco.rest.v1;
|
|
|
|
import static org.alfresco.rest.RestClientWrapper.onRestAPI;
|
|
|
|
import org.alfresco.rest.BaseRestTest;
|
|
import org.alfresco.tester.model.UserModel;
|
|
import org.testng.annotations.Test;
|
|
|
|
public class SitesTest extends BaseRestTest {
|
|
|
|
@Test
|
|
public void getSite() {
|
|
UserModel admin = new UserModel("admin", "admin");
|
|
System.out.println(onRestAPI().withAuthUser(admin).onSites().getSite("SiteName1470151654495").getTitle());
|
|
|
|
}
|
|
}
|