Skip to content

Commit

Permalink
integration tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
  • Loading branch information
butonic committed Feb 22, 2022
1 parent 6ac2f53 commit 28e3268
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions tests/integration/grpc/gateway_storageprovider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 3 additions & 0 deletions tests/integration/grpc/storageprovider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 28e3268

Please sign in to comment.