diff --git a/test/unitTests/app/entity/EntityControllerTest.php b/test/unitTests/app/entity/EntityControllerTest.php
index a6910e090abc6ff19078b6b31ec887738004859e..9f8ab9d80580bf85a188c17f90d97b4eb31e22f2 100755
--- a/test/unitTests/app/entity/EntityControllerTest.php
+++ b/test/unitTests/app/entity/EntityControllerTest.php
@@ -189,7 +189,7 @@ class EntityControllerTest extends TestCase
         $this->assertSame(false, $responseBody->entity->hasChildren);
         $this->assertSame(0, $responseBody->entity->documents);
         $this->assertInternalType('array', $responseBody->entity->users);
-        $this->assertSame(0, $responseBody->entity->templates);
+        $this->assertInternalType('array', $responseBody->entity->templates);
         $this->assertSame(0, $responseBody->entity->instances);
         $this->assertSame(0, $responseBody->entity->redirects);
     }