13111: Add tests for /users/ paths.
[arvados.git] / services / keep-web / handler_test.go
index 21e47c8dc7c3e0a64f8d320e24b5cd9041fe7117..3e7ae5fbd8728a3cb32ee9bfa4f9740ac741b8b1 100644 (file)
@@ -516,6 +516,12 @@ func (s *IntegrationSuite) TestDirectoryListing(c *check.C) {
                        expect:  []string{"dir1/foo", "dir1/bar"},
                        cutDirs: 2,
                },
+               {
+                       uri:     "download.example.com/users/active/" + arvadostest.FooAndBarFilesInDirUUID + "/",
+                       header:  authHeader,
+                       expect:  []string{"dir1/foo", "dir1/bar"},
+                       cutDirs: 3,
+               },
                {
                        uri:     "collections.example.com/collections/download/" + arvadostest.FooAndBarFilesInDirUUID + "/" + arvadostest.ActiveToken + "/",
                        header:  nil,