diff --git a/go.mod b/go.mod index fbec0115dd..fbc24be5bf 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,6 @@ require ( github.com/MicahParks/keyfunc v1.4.0 github.com/armon/go-radix v1.0.0 github.com/blevesearch/bleve/v2 v2.3.4 - github.com/blevesearch/bleve_index_api v1.0.3 github.com/coreos/go-oidc/v3 v3.4.0 github.com/cs3org/go-cs3apis v0.0.0-20220929083235-bb0b1a236d6c github.com/cs3org/reva/v2 v2.10.1-0.20221006145249-70bf0e95ec00 @@ -109,6 +108,7 @@ require ( github.com/beorn7/perks v1.0.1 // indirect github.com/bitly/go-simplejson v0.5.0 // indirect github.com/bits-and-blooms/bitset v1.2.1 // indirect + github.com/blevesearch/bleve_index_api v1.0.3 // indirect github.com/blevesearch/geo v0.1.13 // indirect github.com/blevesearch/go-porterstemmer v1.0.3 // indirect github.com/blevesearch/gtreap v0.1.1 // indirect diff --git a/services/graph/pkg/service/v0/graph_test.go b/services/graph/pkg/service/v0/graph_test.go index fcd969c582..ca7e0087f8 100644 --- a/services/graph/pkg/service/v0/graph_test.go +++ b/services/graph/pkg/service/v0/graph_test.go @@ -41,7 +41,6 @@ var _ = Describe("Graph", func() { cfg.Identity.LDAP.CACert = "" // skip the startup checks, we don't use LDAP at all in this tests cfg.TokenManager.JWTSecret = "loremipsum" cfg.Commons = &shared.Commons{} - cfg.Commons.OcisURL = "https://ocis.test" gatewayClient = &mocks.GatewayClient{} eventsPublisher = mocks.Publisher{} @@ -112,7 +111,7 @@ var _ = Describe("Graph", func() { "id":"pro-1$sameID", "webDavUrl":"https://localhost:9200/dav/spaces/pro-1$sameID" }, - "webUrl": "https://ocis.test/f/pro-1$sameID" + "webUrl": "https://localhost:9200/f/pro-1$sameID" } ] } @@ -183,7 +182,7 @@ var _ = Describe("Graph", func() { "id":"pro-1$asameID", "webDavUrl":"https://localhost:9200/dav/spaces/pro-1$asameID" }, - "webUrl": "https://ocis.test/f/pro-1$asameID" + "webUrl": "https://localhost:9200/f/pro-1$asameID" }, { "driveAlias":"bspacetype/bspacename", @@ -195,7 +194,7 @@ var _ = Describe("Graph", func() { "id":"pro-1$bsameID", "webDavUrl":"https://localhost:9200/dav/spaces/pro-1$bsameID" }, - "webUrl": "https://ocis.test/f/pro-1$bsameID" + "webUrl": "https://localhost:9200/f/pro-1$bsameID" } ] }