From 28e3268acfa2ad29f2c26552c30223fd7224427d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Tue, 22 Feb 2022 21:38:10 +0000 Subject: [PATCH] integration tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jörn Friedrich Dreyer --- tests/integration/grpc/gateway_storageprovider_test.go | 3 +-- tests/integration/grpc/storageprovider_test.go | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/integration/grpc/gateway_storageprovider_test.go b/tests/integration/grpc/gateway_storageprovider_test.go index 7883923142a..1930572dad3 100644 --- a/tests/integration/grpc/gateway_storageprovider_test.go +++ b/tests/integration/grpc/gateway_storageprovider_test.go @@ -371,8 +371,7 @@ var _ = Describe("gateway", func() { JustBeforeEach(func() { var err error fs, err = ocis.New(map[string]interface{}{ - "root": revads["storage"].StorageRoot, - //"userprovidersvc": revads["users"].GrpcAddress, + "root": revads["storage"].StorageRoot, "permissionssvc": revads["permissions"].GrpcAddress, "enable_home": true, "treesize_accounting": true, diff --git a/tests/integration/grpc/storageprovider_test.go b/tests/integration/grpc/storageprovider_test.go index 1d4091a7d43..f3a759e16f5 100644 --- a/tests/integration/grpc/storageprovider_test.go +++ b/tests/integration/grpc/storageprovider_test.go @@ -60,10 +60,13 @@ func createFS(provider string, revads map[string]*Revad) (storage.FS, error) { switch provider { case "ocis": conf["root"] = revads["storage"].StorageRoot + conf["permissionssvc"] = revads["permissions"].GrpcAddress f = ocis.New case "nextcloud": conf["root"] = revads["storage"].StorageRoot + conf["endpoint"] = "http://localhost:8080/apps/sciencemesh/" conf["enable_home"] = true + conf["mock_http"] = true f = nextcloud.New } return f(conf)