diff --git a/delta/plugins/composite-views/src/test/resources/composite-views/database/named-view-created.json b/delta/plugins/composite-views/src/test/resources/composite-views/database/named-view-created.json index 59402092db..eab09732c1 100644 --- a/delta/plugins/composite-views/src/test/resources/composite-views/database/named-view-created.json +++ b/delta/plugins/composite-views/src/test/resources/composite-views/database/named-view-created.json @@ -143,9 +143,6 @@ ], "resourceTypes": [ ], - "token": { - "value": "vv/MQBHmWaNm+TX/EigReQ==" - }, "uuid": "f8468909-a797-4b10-8b5f-000cba337bfa" }, { diff --git a/delta/plugins/composite-views/src/test/resources/composite-views/database/named-view-updated.json b/delta/plugins/composite-views/src/test/resources/composite-views/database/named-view-updated.json index 3f5899facf..d9e1fc851e 100644 --- a/delta/plugins/composite-views/src/test/resources/composite-views/database/named-view-updated.json +++ b/delta/plugins/composite-views/src/test/resources/composite-views/database/named-view-updated.json @@ -143,9 +143,6 @@ ], "resourceTypes": [ ], - "token": { - "value": "vv/MQBHmWaNm+TX/EigReQ==" - }, "uuid": "f8468909-a797-4b10-8b5f-000cba337bfa" }, { diff --git a/delta/plugins/composite-views/src/test/resources/composite-views/database/view-created.json b/delta/plugins/composite-views/src/test/resources/composite-views/database/view-created.json index 76eca6aac5..2d57981259 100644 --- a/delta/plugins/composite-views/src/test/resources/composite-views/database/view-created.json +++ b/delta/plugins/composite-views/src/test/resources/composite-views/database/view-created.json @@ -141,9 +141,6 @@ ], "resourceTypes": [ ], - "token": { - "value": "vv/MQBHmWaNm+TX/EigReQ==" - }, "uuid": "f8468909-a797-4b10-8b5f-000cba337bfa" }, { diff --git a/delta/plugins/composite-views/src/test/resources/composite-views/database/view-state.json b/delta/plugins/composite-views/src/test/resources/composite-views/database/view-state.json index 2f835e6ef7..4c26c2ad28 100644 --- a/delta/plugins/composite-views/src/test/resources/composite-views/database/view-state.json +++ b/delta/plugins/composite-views/src/test/resources/composite-views/database/view-state.json @@ -154,9 +154,6 @@ ], "resourceTypes": [ ], - "token": { - "value": "vv/MQBHmWaNm+TX/EigReQ==" - }, "uuid": "f8468909-a797-4b10-8b5f-000cba337bfa" }, { diff --git a/delta/plugins/composite-views/src/test/resources/composite-views/database/view-updated.json b/delta/plugins/composite-views/src/test/resources/composite-views/database/view-updated.json index 2d937a8985..010c5f7b94 100644 --- a/delta/plugins/composite-views/src/test/resources/composite-views/database/view-updated.json +++ b/delta/plugins/composite-views/src/test/resources/composite-views/database/view-updated.json @@ -141,9 +141,6 @@ ], "resourceTypes": [ ], - "token": { - "value": "vv/MQBHmWaNm+TX/EigReQ==" - }, "uuid": "f8468909-a797-4b10-8b5f-000cba337bfa" }, { diff --git a/delta/sdk/src/main/scala/ch/epfl/bluebrain/nexus/delta/sdk/auth/AuthTokenProvider.scala b/delta/sdk/src/main/scala/ch/epfl/bluebrain/nexus/delta/sdk/auth/AuthTokenProvider.scala index a506856e96..8d3057a074 100644 --- a/delta/sdk/src/main/scala/ch/epfl/bluebrain/nexus/delta/sdk/auth/AuthTokenProvider.scala +++ b/delta/sdk/src/main/scala/ch/epfl/bluebrain/nexus/delta/sdk/auth/AuthTokenProvider.scala @@ -23,7 +23,7 @@ object AuthTokenProvider { def apply(authService: OpenIdAuthService): UIO[AuthTokenProvider] = { KeyValueStore[ClientCredentials, ParsedToken]().map(cache => new CachingOpenIdAuthTokenProvider(authService, cache)) } - def anonymousForTest: AuthTokenProvider = new AnonymousAuthTokenProvider + def anonymousForTest: AuthTokenProvider = new AnonymousAuthTokenProvider def fixedForTest(token: String): AuthTokenProvider = new AuthTokenProvider { override def apply(credentials: Credentials): UIO[Option[AuthToken]] = UIO.pure(Some(AuthToken(token))) }