diff --git a/tests/Common/FilesTest.php b/tests/Common/FilesTest.php
index <HASH>..<HASH> 100644
--- a/tests/Common/FilesTest.php
+++ b/tests/Common/FilesTest.php
@@ -24,6 +24,7 @@ class FilesTest extends StorageApiTestCase
         $uploadedFile = reset($files);
         $this->assertEquals($fileId, $uploadedFile['id']);
         $this->assertArrayHasKey('region', $uploadedFile);
+        $this->assertArrayNotHasKey('credentials', $uploadedFile);
     }
 
     public function testFilesListFilterByTags()
testing that federation token is required for credentials