diff --git a/tests/src/Unit/Remote/LingotekApiUnitTest.php b/tests/src/Unit/Remote/LingotekApiUnitTest.php
index afa931c..0b4c6e7 100644
--- a/tests/src/Unit/Remote/LingotekApiUnitTest.php
+++ b/tests/src/Unit/Remote/LingotekApiUnitTest.php
@@ -51,7 +51,7 @@ class LingotekApiUnitTest extends UnitTestCase {
       ->getMock();
     $this->client->expects($this->at(0))
       ->method('get')
-      ->with('/api/document/fancy-document-id/status')
+      ->with($this->root . '/api/document/fancy-document-id/status')
       ->will($this->returnValue($response));
 
     $this->lingotek_api->getDocument('fancy-document-id');
@@ -68,12 +68,12 @@ class LingotekApiUnitTest extends UnitTestCase {
       ->getMock();
     $this->client->expects($this->at(0))
       ->method('post')
-      ->with('/api/document/fancy-document-id/translation', ['locale_code' => 'es_ES', 'workflow_id' => 'my_workflow'])
+      ->with($this->root . '/api/document/fancy-document-id/translation', ['locale_code' => 'es_ES', 'workflow_id' => 'my_workflow'])
       ->will($this->returnValue($response));
 
     $this->client->expects($this->at(1))
       ->method('post')
-      ->with('/api/document/fancy-document-id/translation', ['locale_code' => 'es_ES'])
+      ->with($this->root . '/api/document/fancy-document-id/translation', ['locale_code' => 'es_ES'])
       ->will($this->returnValue($response));
 
     $this->lingotek_api->addTranslation('fancy-document-id', 'es_ES', 'my_workflow');
@@ -93,7 +93,7 @@ class LingotekApiUnitTest extends UnitTestCase {
 
     $this->client->expects($this->at(0))
       ->method('delete')
-      ->with('/api/document/fancy-document-id')
+      ->with($this->root . '/api/document/fancy-document-id')
       ->will($this->returnValue($response));
 
     $response = $this->lingotek_api->deleteDocument('fancy-document-id');
@@ -106,7 +106,7 @@ class LingotekApiUnitTest extends UnitTestCase {
   public function testDeleteDocumentThatDoesntExist() {
     $this->client->expects($this->at(0))
       ->method('delete')
-      ->with('/api/document/fancy-document-id')
+      ->with($this->root . '/api/document/fancy-document-id')
       ->will($this->throwException(new \Exception('', Response::HTTP_NOT_FOUND)));
 
     $response = $this->lingotek_api->deleteDocument('fancy-document-id');
@@ -123,7 +123,7 @@ class LingotekApiUnitTest extends UnitTestCase {
       ->getMock();
     $this->client->expects($this->once())
       ->method('get')
-      ->with('/api/community', ['limit' => 100])
+      ->with($this->root . '/api/community', ['limit' => 100])
       ->will($this->returnValue($response));
 
     $this->lingotek_api->getCommunities();
@@ -139,7 +139,7 @@ class LingotekApiUnitTest extends UnitTestCase {
       ->getMock();
     $this->client->expects($this->once())
       ->method('get')
-      ->with('/api/project', ['limit' => 100, 'community_id' => 'my_community_id'])
+      ->with($this->root . '/api/project', ['limit' => 100, 'community_id' => 'my_community_id'])
       ->will($this->returnValue($response));
 
     $this->lingotek_api->getProjects('my_community_id');
@@ -155,7 +155,7 @@ class LingotekApiUnitTest extends UnitTestCase {
       ->getMock();
     $this->client->expects($this->once())
       ->method('get')
-      ->with('/api/vault', ['limit' => 100, 'is_owned' => 'TRUE'])
+      ->with($this->root . '/api/vault', ['limit' => 100, 'is_owned' => 'TRUE'])
       ->will($this->returnValue($response));
 
     $this->lingotek_api->getVaults('community_id');
@@ -172,7 +172,7 @@ class LingotekApiUnitTest extends UnitTestCase {
       ->getMock();
     $this->client->expects($this->once())
       ->method('get')
-      ->with('/api/workflow', ['limit' => 100, 'community_id' => $community_id])
+      ->with($this->root . '/api/workflow', ['limit' => 100, 'community_id' => $community_id])
       ->will($this->returnValue($response));
 
     $this->lingotek_api->getWorkflows($community_id);
