From 43e40b0436e2b5d99f8fbe8928871a5045ed7f4a Mon Sep 17 00:00:00 2001 From: Paolo Capriotti Date: Mon, 14 Nov 2022 15:43:11 +0100 Subject: [PATCH] Fix golden tests --- libs/wire-api/src/Wire/API/Conversation.hs | 20 ++++-- .../API/Routes/Public/Galley/Conversation.hs | 23 ++++++ .../golden/Test/Wire/API/Golden/Generated.hs | 31 ++++++-- ...tObject_ConversationAccessData_user_1.json | 3 +- ...tObject_ConversationAccessData_user_2.json | 3 +- ...ject_ConversationAccessData_v2_user_1.json | 9 +++ ...ject_ConversationAccessData_v2_user_2.json | 10 +++ ...rsationList_20Conversation_v2_user_1.json} | 0 ...rsationList_20Conversation_v2_user_2.json} | 0 .../testObject_Conversation_user_1.json | 3 +- .../testObject_Conversation_user_2.json | 3 +- .../testObject_Conversation_v2_user_1.json | 40 +++++++++++ .../testObject_Conversation_v2_user_2.json | 71 +++++++++++++++++++ .../test/golden/testObject_Event_user_2.json | 3 +- .../test/golden/testObject_Event_user_8.json | 3 +- .../testObject_InvitationList_team_15.json | 10 +-- .../golden/testObject_NewConv_user_1.json | 3 +- .../golden/testObject_NewConv_user_3.json | 3 +- .../golden/testObject_NewConv_v2_user_1.json | 24 +++++++ .../golden/testObject_NewConv_v2_user_3.json | 17 +++++ ...ject_TeamFeatureStatusNoConfig_team_1.json | 3 - ...ect_TeamFeatureStatusNoConfig_team_10.json | 3 - ...ect_TeamFeatureStatusNoConfig_team_11.json | 3 - ...ect_TeamFeatureStatusNoConfig_team_12.json | 3 - ...ect_TeamFeatureStatusNoConfig_team_13.json | 3 - ...ect_TeamFeatureStatusNoConfig_team_14.json | 3 - ...ect_TeamFeatureStatusNoConfig_team_15.json | 3 - ...ect_TeamFeatureStatusNoConfig_team_16.json | 3 - ...ect_TeamFeatureStatusNoConfig_team_17.json | 3 - ...ect_TeamFeatureStatusNoConfig_team_18.json | 3 - ...ect_TeamFeatureStatusNoConfig_team_19.json | 3 - ...ject_TeamFeatureStatusNoConfig_team_2.json | 3 - ...ect_TeamFeatureStatusNoConfig_team_20.json | 3 - ...ject_TeamFeatureStatusNoConfig_team_3.json | 3 - ...ject_TeamFeatureStatusNoConfig_team_4.json | 3 - ...ject_TeamFeatureStatusNoConfig_team_5.json | 3 - ...ject_TeamFeatureStatusNoConfig_team_6.json | 3 - ...ject_TeamFeatureStatusNoConfig_team_7.json | 3 - ...ject_TeamFeatureStatusNoConfig_team_8.json | 3 - ...ject_TeamFeatureStatusNoConfig_team_9.json | 3 - ...tObject_TeamFeatureStatusValue_team_1.json | 1 - ...Object_TeamFeatureStatusValue_team_10.json | 1 - ...Object_TeamFeatureStatusValue_team_11.json | 1 - ...Object_TeamFeatureStatusValue_team_12.json | 1 - ...Object_TeamFeatureStatusValue_team_13.json | 1 - ...Object_TeamFeatureStatusValue_team_14.json | 1 - ...Object_TeamFeatureStatusValue_team_15.json | 1 - ...Object_TeamFeatureStatusValue_team_16.json | 1 - ...Object_TeamFeatureStatusValue_team_17.json | 1 - ...Object_TeamFeatureStatusValue_team_18.json | 1 - ...Object_TeamFeatureStatusValue_team_19.json | 1 - ...tObject_TeamFeatureStatusValue_team_2.json | 1 - ...Object_TeamFeatureStatusValue_team_20.json | 1 - ...tObject_TeamFeatureStatusValue_team_3.json | 1 - ...tObject_TeamFeatureStatusValue_team_4.json | 1 - ...tObject_TeamFeatureStatusValue_team_5.json | 1 - ...tObject_TeamFeatureStatusValue_team_6.json | 1 - ...tObject_TeamFeatureStatusValue_team_7.json | 1 - ...tObject_TeamFeatureStatusValue_team_8.json | 1 - ...tObject_TeamFeatureStatusValue_team_9.json | 1 - ...fig_20TeamFeatureAppLockConfig_team_1.json | 7 -- ...ig_20TeamFeatureAppLockConfig_team_10.json | 7 -- ...ig_20TeamFeatureAppLockConfig_team_11.json | 7 -- ...ig_20TeamFeatureAppLockConfig_team_12.json | 7 -- ...ig_20TeamFeatureAppLockConfig_team_13.json | 7 -- ...ig_20TeamFeatureAppLockConfig_team_14.json | 7 -- ...ig_20TeamFeatureAppLockConfig_team_15.json | 7 -- ...ig_20TeamFeatureAppLockConfig_team_16.json | 7 -- ...ig_20TeamFeatureAppLockConfig_team_17.json | 7 -- ...ig_20TeamFeatureAppLockConfig_team_18.json | 7 -- ...ig_20TeamFeatureAppLockConfig_team_19.json | 7 -- ...fig_20TeamFeatureAppLockConfig_team_2.json | 7 -- ...ig_20TeamFeatureAppLockConfig_team_20.json | 7 -- ...fig_20TeamFeatureAppLockConfig_team_3.json | 7 -- ...fig_20TeamFeatureAppLockConfig_team_4.json | 7 -- ...fig_20TeamFeatureAppLockConfig_team_5.json | 7 -- ...fig_20TeamFeatureAppLockConfig_team_6.json | 7 -- ...fig_20TeamFeatureAppLockConfig_team_7.json | 7 -- ...fig_20TeamFeatureAppLockConfig_team_8.json | 7 -- ...fig_20TeamFeatureAppLockConfig_team_9.json | 7 -- .../testObject_WithStatusPatch_team_1.json | 2 +- .../testObject_WithStatusPatch_team_10.json | 2 +- .../testObject_WithStatusPatch_team_11.json | 2 +- .../testObject_WithStatusPatch_team_12.json | 2 +- .../testObject_WithStatusPatch_team_13.json | 2 +- .../testObject_WithStatusPatch_team_14.json | 2 +- .../testObject_WithStatusPatch_team_15.json | 2 +- .../testObject_WithStatusPatch_team_16.json | 2 +- .../testObject_WithStatusPatch_team_18.json | 2 +- .../testObject_WithStatusPatch_team_19.json | 2 +- .../testObject_WithStatusPatch_team_2.json | 2 +- .../testObject_WithStatusPatch_team_3.json | 2 +- .../testObject_WithStatusPatch_team_4.json | 2 +- .../testObject_WithStatusPatch_team_5.json | 2 +- .../testObject_WithStatusPatch_team_6.json | 2 +- .../testObject_WithStatusPatch_team_7.json | 2 +- .../testObject_WithStatusPatch_team_8.json | 2 +- .../testObject_WithStatusPatch_team_9.json | 2 +- .../golden/testObject_WithStatus_team_11.json | 2 +- 99 files changed, 266 insertions(+), 271 deletions(-) create mode 100644 libs/wire-api/test/golden/testObject_ConversationAccessData_v2_user_1.json create mode 100644 libs/wire-api/test/golden/testObject_ConversationAccessData_v2_user_2.json rename libs/wire-api/test/golden/{testObject_ConversationList_20Conversation_user_1.json => testObject_ConversationList_20Conversation_v2_user_1.json} (100%) rename libs/wire-api/test/golden/{testObject_ConversationList_20Conversation_user_2.json => testObject_ConversationList_20Conversation_v2_user_2.json} (100%) create mode 100644 libs/wire-api/test/golden/testObject_Conversation_v2_user_1.json create mode 100644 libs/wire-api/test/golden/testObject_Conversation_v2_user_2.json create mode 100644 libs/wire-api/test/golden/testObject_NewConv_v2_user_1.json create mode 100644 libs/wire-api/test/golden/testObject_NewConv_v2_user_3.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_1.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_10.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_11.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_12.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_13.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_14.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_15.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_16.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_17.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_18.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_19.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_2.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_20.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_3.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_4.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_5.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_6.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_7.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_8.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_9.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_1.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_10.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_11.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_12.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_13.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_14.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_15.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_16.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_17.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_18.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_19.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_2.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_20.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_3.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_4.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_5.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_6.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_7.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_8.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_9.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_1.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_10.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_11.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_12.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_13.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_14.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_15.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_16.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_17.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_18.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_19.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_2.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_20.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_3.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_4.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_5.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_6.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_7.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_8.json delete mode 100644 libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_9.json diff --git a/libs/wire-api/src/Wire/API/Conversation.hs b/libs/wire-api/src/Wire/API/Conversation.hs index b9fb02620fe..c755d2d2cfa 100644 --- a/libs/wire-api/src/Wire/API/Conversation.hs +++ b/libs/wire-api/src/Wire/API/Conversation.hs @@ -439,7 +439,7 @@ instance ToSchema ConversationsResponse where "ConversationsResponse" (description ?~ "Response object for getting metadata of a list of conversations") $ ConversationsResponse - <$> crFound .= field "found" (array schema) + <$> crFound .= field "found" (array (conversationSchema accessRolesSchemaV2)) <*> crNotFound .= fieldWithDocModifier "not_found" notFoundDoc (array schema) <*> crFailed .= fieldWithDocModifier "failed" failedDoc (array schema) @@ -875,12 +875,20 @@ data ConversationAccessData = ConversationAccessData deriving (Arbitrary) via (GenericUniform ConversationAccessData) deriving (FromJSON, ToJSON, S.ToSchema) via Schema ConversationAccessData +conversationAccessDataSchema :: + ObjectSchema SwaggerDoc (Set AccessRole) -> + ValueSchema NamedSwaggerDoc ConversationAccessData +conversationAccessDataSchema sch = + object "ConversationAccessData" $ + ConversationAccessData + <$> cupAccess .= field "access" (set schema) + <*> cupAccessRoles .= sch + instance ToSchema ConversationAccessData where - schema = - object "ConversationAccessData" $ - ConversationAccessData - <$> cupAccess .= field "access" (set schema) - <*> cupAccessRoles .= accessRolesSchema + schema = conversationAccessDataSchema accessRolesSchema + +instance ToSchema (Versioned 'V2 ConversationAccessData) where + schema = Versioned <$> unVersioned .= conversationAccessDataSchema accessRolesSchemaV2 modelConversationAccessData :: Doc.Model modelConversationAccessData = Doc.defineModel "ConversationAccessData" $ do diff --git a/libs/wire-api/src/Wire/API/Routes/Public/Galley/Conversation.hs b/libs/wire-api/src/Wire/API/Routes/Public/Galley/Conversation.hs index 6300eff377b..f317a84dd5b 100644 --- a/libs/wire-api/src/Wire/API/Routes/Public/Galley/Conversation.hs +++ b/libs/wire-api/src/Wire/API/Routes/Public/Galley/Conversation.hs @@ -821,9 +821,32 @@ type ConversationAPI = (UpdateResponses "Access unchanged" "Access updated" Event) (UpdateResult Event) ) + :<|> Named + "update-conversation-access@v2" + ( Summary "Update access modes for a conversation" + :> Until 'V3 + :> ZLocalUser + :> ZConn + :> CanThrow ('ActionDenied 'ModifyConversationAccess) + :> CanThrow ('ActionDenied 'RemoveConversationMember) + :> CanThrow 'ConvAccessDenied + :> CanThrow 'ConvNotFound + :> CanThrow 'InvalidOperation + :> CanThrow 'InvalidTargetAccess + :> "conversations" + :> QualifiedCapture' '[Description "Conversation ID"] "cnv" ConvId + :> "access" + :> VersionedReqBody 'V2 '[JSON] ConversationAccessData + :> MultiVerb + 'PUT + '[JSON] + (UpdateResponses "Access unchanged" "Access updated" Event) + (UpdateResult Event) + ) :<|> Named "update-conversation-access" ( Summary "Update access modes for a conversation" + :> From 'V3 :> ZLocalUser :> ZConn :> CanThrow ('ActionDenied 'ModifyConversationAccess) diff --git a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated.hs b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated.hs index ccff53d7278..157b8139fa6 100644 --- a/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated.hs +++ b/libs/wire-api/test/golden/Test/Wire/API/Golden/Generated.hs @@ -235,6 +235,8 @@ import qualified Test.Wire.API.Golden.Generated.WithStatusPatch_team import qualified Test.Wire.API.Golden.Generated.WithStatus_team import qualified Test.Wire.API.Golden.Generated.Wrapped_20_22some_5fint_22_20Int_user import Test.Wire.API.Golden.Runner +import Wire.API.Routes.Version +import Wire.API.Routes.Versioned tests :: TestTree tests = @@ -382,11 +384,21 @@ tests = testObjects [ (Test.Wire.API.Golden.Generated.ConnectionUpdate_user.testObject_ConnectionUpdate_user_1, "testObject_ConnectionUpdate_user_1.json") ], + testGroup "Golden: Conversation_user V2" $ + testObjects + [ (Versioned @'V2 Test.Wire.API.Golden.Generated.Conversation_user.testObject_Conversation_user_1, "testObject_Conversation_v2_user_1.json"), + (Versioned @'V2 Test.Wire.API.Golden.Generated.Conversation_user.testObject_Conversation_user_2, "testObject_Conversation_v2_user_2.json") + ], testGroup "Golden: Conversation_user" $ testObjects [ (Test.Wire.API.Golden.Generated.Conversation_user.testObject_Conversation_user_1, "testObject_Conversation_user_1.json"), (Test.Wire.API.Golden.Generated.Conversation_user.testObject_Conversation_user_2, "testObject_Conversation_user_2.json") ], + testGroup "Golden: NewConv_user V2" $ + testObjects + [ (Versioned @'V2 Test.Wire.API.Golden.Generated.NewConv_user.testObject_NewConv_user_1, "testObject_NewConv_v2_user_1.json"), + (Versioned @'V2 Test.Wire.API.Golden.Generated.NewConv_user.testObject_NewConv_user_3, "testObject_NewConv_v2_user_3.json") + ], testGroup "Golden: NewConv_user" $ testObjects [ (Test.Wire.API.Golden.Generated.NewConv_user.testObject_NewConv_user_1, "testObject_NewConv_user_1.json"), @@ -401,13 +413,13 @@ tests = "testObject_ConversationList_20_28Id_20_2a_20C_29_user_2.json" ) ], - testGroup "Golden: ConversationList_20Conversation_user" $ + testGroup "Golden: ConversationList_20Conversation_user V2" $ testObjects - [ ( Test.Wire.API.Golden.Generated.ConversationList_20Conversation_user.testObject_ConversationList_20Conversation_user_1, - "testObject_ConversationList_20Conversation_user_1.json" + [ ( Versioned @'V2 Test.Wire.API.Golden.Generated.ConversationList_20Conversation_user.testObject_ConversationList_20Conversation_user_1, + "testObject_ConversationList_20Conversation_v2_user_1.json" ), - ( Test.Wire.API.Golden.Generated.ConversationList_20Conversation_user.testObject_ConversationList_20Conversation_user_2, - "testObject_ConversationList_20Conversation_user_2.json" + ( Versioned @'V2 Test.Wire.API.Golden.Generated.ConversationList_20Conversation_user.testObject_ConversationList_20Conversation_user_2, + "testObject_ConversationList_20Conversation_v2_user_2.json" ) ], testGroup "Golden: Access_user" $ @@ -450,6 +462,15 @@ tests = "testObject_ConversationRename_user_1.json" ) ], + testGroup "Golden: ConversationAccessData_user V2" $ + testObjects + [ ( Versioned @'V2 Test.Wire.API.Golden.Generated.ConversationAccessData_user.testObject_ConversationAccessData_user_1, + "testObject_ConversationAccessData_v2_user_1.json" + ), + ( Versioned @'V2 Test.Wire.API.Golden.Generated.ConversationAccessData_user.testObject_ConversationAccessData_user_2, + "testObject_ConversationAccessData_v2_user_2.json" + ) + ], testGroup "Golden: ConversationAccessData_user" $ testObjects [ ( Test.Wire.API.Golden.Generated.ConversationAccessData_user.testObject_ConversationAccessData_user_1, diff --git a/libs/wire-api/test/golden/testObject_ConversationAccessData_user_1.json b/libs/wire-api/test/golden/testObject_ConversationAccessData_user_1.json index 68a20bbafe3..b52cf68dfba 100644 --- a/libs/wire-api/test/golden/testObject_ConversationAccessData_user_1.json +++ b/libs/wire-api/test/golden/testObject_ConversationAccessData_user_1.json @@ -1,7 +1,6 @@ { "access": [], - "access_role": "non_activated", - "access_role_v2": [ + "access_role": [ "team_member", "guest", "service" diff --git a/libs/wire-api/test/golden/testObject_ConversationAccessData_user_2.json b/libs/wire-api/test/golden/testObject_ConversationAccessData_user_2.json index 74e7d6e6d2e..24639201982 100644 --- a/libs/wire-api/test/golden/testObject_ConversationAccessData_user_2.json +++ b/libs/wire-api/test/golden/testObject_ConversationAccessData_user_2.json @@ -2,8 +2,7 @@ "access": [ "invite" ], - "access_role": "non_activated", - "access_role_v2": [ + "access_role": [ "team_member", "guest" ] diff --git a/libs/wire-api/test/golden/testObject_ConversationAccessData_v2_user_1.json b/libs/wire-api/test/golden/testObject_ConversationAccessData_v2_user_1.json new file mode 100644 index 00000000000..68a20bbafe3 --- /dev/null +++ b/libs/wire-api/test/golden/testObject_ConversationAccessData_v2_user_1.json @@ -0,0 +1,9 @@ +{ + "access": [], + "access_role": "non_activated", + "access_role_v2": [ + "team_member", + "guest", + "service" + ] +} diff --git a/libs/wire-api/test/golden/testObject_ConversationAccessData_v2_user_2.json b/libs/wire-api/test/golden/testObject_ConversationAccessData_v2_user_2.json new file mode 100644 index 00000000000..74e7d6e6d2e --- /dev/null +++ b/libs/wire-api/test/golden/testObject_ConversationAccessData_v2_user_2.json @@ -0,0 +1,10 @@ +{ + "access": [ + "invite" + ], + "access_role": "non_activated", + "access_role_v2": [ + "team_member", + "guest" + ] +} diff --git a/libs/wire-api/test/golden/testObject_ConversationList_20Conversation_user_1.json b/libs/wire-api/test/golden/testObject_ConversationList_20Conversation_v2_user_1.json similarity index 100% rename from libs/wire-api/test/golden/testObject_ConversationList_20Conversation_user_1.json rename to libs/wire-api/test/golden/testObject_ConversationList_20Conversation_v2_user_1.json diff --git a/libs/wire-api/test/golden/testObject_ConversationList_20Conversation_user_2.json b/libs/wire-api/test/golden/testObject_ConversationList_20Conversation_v2_user_2.json similarity index 100% rename from libs/wire-api/test/golden/testObject_ConversationList_20Conversation_user_2.json rename to libs/wire-api/test/golden/testObject_ConversationList_20Conversation_v2_user_2.json diff --git a/libs/wire-api/test/golden/testObject_Conversation_user_1.json b/libs/wire-api/test/golden/testObject_Conversation_user_1.json index 90e837c0700..e9c08330a13 100644 --- a/libs/wire-api/test/golden/testObject_Conversation_user_1.json +++ b/libs/wire-api/test/golden/testObject_Conversation_user_1.json @@ -1,7 +1,6 @@ { "access": [], - "access_role": "private", - "access_role_v2": [], + "access_role": [], "creator": "00000001-0000-0001-0000-000200000001", "id": "00000001-0000-0000-0000-000000000000", "last_event": "0.0", diff --git a/libs/wire-api/test/golden/testObject_Conversation_user_2.json b/libs/wire-api/test/golden/testObject_Conversation_user_2.json index ffc1f3da5cd..bc75e888889 100644 --- a/libs/wire-api/test/golden/testObject_Conversation_user_2.json +++ b/libs/wire-api/test/golden/testObject_Conversation_user_2.json @@ -13,8 +13,7 @@ "private", "invite" ], - "access_role": "non_activated", - "access_role_v2": [ + "access_role": [ "team_member", "guest", "service" diff --git a/libs/wire-api/test/golden/testObject_Conversation_v2_user_1.json b/libs/wire-api/test/golden/testObject_Conversation_v2_user_1.json new file mode 100644 index 00000000000..90e837c0700 --- /dev/null +++ b/libs/wire-api/test/golden/testObject_Conversation_v2_user_1.json @@ -0,0 +1,40 @@ +{ + "access": [], + "access_role": "private", + "access_role_v2": [], + "creator": "00000001-0000-0001-0000-000200000001", + "id": "00000001-0000-0000-0000-000000000000", + "last_event": "0.0", + "last_event_time": "1970-01-01T00:00:00.000Z", + "members": { + "others": [], + "self": { + "conversation_role": "rhhdzf0j0njilixx0g0vzrp06b_5us", + "hidden": false, + "hidden_ref": "", + "id": "00000001-0000-0001-0000-000100000000", + "otr_archived": false, + "otr_archived_ref": "", + "otr_muted_ref": null, + "otr_muted_status": null, + "qualified_id": { + "domain": "golden.example.com", + "id": "00000001-0000-0001-0000-000100000000" + }, + "service": null, + "status": 0, + "status_ref": "0.0", + "status_time": "1970-01-01T00:00:00.000Z" + } + }, + "message_timer": null, + "name": " 0", + "protocol": "proteus", + "qualified_id": { + "domain": "golden.example.com", + "id": "00000001-0000-0000-0000-000000000000" + }, + "receipt_mode": -2, + "team": "00000001-0000-0001-0000-000100000002", + "type": 2 +} diff --git a/libs/wire-api/test/golden/testObject_Conversation_v2_user_2.json b/libs/wire-api/test/golden/testObject_Conversation_v2_user_2.json new file mode 100644 index 00000000000..ffc1f3da5cd --- /dev/null +++ b/libs/wire-api/test/golden/testObject_Conversation_v2_user_2.json @@ -0,0 +1,71 @@ +{ + "access": [ + "invite", + "invite", + "code", + "link", + "invite", + "private", + "link", + "code", + "code", + "link", + "private", + "invite" + ], + "access_role": "non_activated", + "access_role_v2": [ + "team_member", + "guest", + "service" + ], + "creator": "00000000-0000-0000-0000-000200000001", + "id": "00000000-0000-0000-0000-000000000002", + "last_event": "0.0", + "last_event_time": "1970-01-01T00:00:00.000Z", + "members": { + "others": [ + { + "conversation_role": "r1rg526serx51g15n99y1bw_9q0qrcwck3jxl7ocjsjqcoux7d1zbkz9nnczy92t2oyogxrx3cyh_b8yv44l61mx9uzdnv6", + "id": "00000001-0000-0001-0000-000100000001", + "qualified_id": { + "domain": "golden.example.com", + "id": "00000001-0000-0001-0000-000100000001" + }, + "service": { + "id": "00000001-0000-0000-0000-000000000000", + "provider": "00000001-0000-0000-0000-000000000001" + }, + "status": 0 + } + ], + "self": { + "conversation_role": "9b2d3thyqh4ptkwtq2n2v9qsni_ln1ca66et_z8dlhfs9oamp328knl3rj9kcj", + "hidden": true, + "hidden_ref": "", + "id": "00000000-0000-0001-0000-000100000001", + "otr_archived": false, + "otr_archived_ref": null, + "otr_muted_ref": null, + "otr_muted_status": -1, + "qualified_id": { + "domain": "golden.example.com", + "id": "00000000-0000-0001-0000-000100000001" + }, + "service": null, + "status": 0, + "status_ref": "0.0", + "status_time": "1970-01-01T00:00:00.000Z" + } + }, + "message_timer": 1319272593797015, + "name": "", + "protocol": "proteus", + "qualified_id": { + "domain": "golden.example.com", + "id": "00000000-0000-0000-0000-000000000002" + }, + "receipt_mode": null, + "team": null, + "type": 1 +} diff --git a/libs/wire-api/test/golden/testObject_Event_user_2.json b/libs/wire-api/test/golden/testObject_Event_user_2.json index 7477dd4406b..bca57eb2605 100644 --- a/libs/wire-api/test/golden/testObject_Event_user_2.json +++ b/libs/wire-api/test/golden/testObject_Event_user_2.json @@ -6,8 +6,7 @@ "invite", "link" ], - "access_role": "non_activated", - "access_role_v2": [ + "access_role": [ "team_member", "guest" ] diff --git a/libs/wire-api/test/golden/testObject_Event_user_8.json b/libs/wire-api/test/golden/testObject_Event_user_8.json index 8906b271471..cfe4ffda5b6 100644 --- a/libs/wire-api/test/golden/testObject_Event_user_8.json +++ b/libs/wire-api/test/golden/testObject_Event_user_8.json @@ -10,8 +10,7 @@ "invite", "link" ], - "access_role": "non_activated", - "access_role_v2": [ + "access_role": [ "team_member", "guest", "service" diff --git a/libs/wire-api/test/golden/testObject_InvitationList_team_15.json b/libs/wire-api/test/golden/testObject_InvitationList_team_15.json index a0fc27114af..4369683fc1c 100644 --- a/libs/wire-api/test/golden/testObject_InvitationList_team_15.json +++ b/libs/wire-api/test/golden/testObject_InvitationList_team_15.json @@ -10,7 +10,7 @@ "phone": "+872574694", "role": "admin", "team": "00000000-0000-0001-0000-000100000000", - "url" :null + "url": null }, { "created_at": "1864-05-09T23:06:13.648Z", @@ -21,7 +21,7 @@ "phone": "+143031479742", "role": "partner", "team": "00000000-0000-0001-0000-000000000001", - "url" :null + "url": null }, { "created_at": "1864-05-09T10:37:03.809Z", @@ -32,7 +32,7 @@ "phone": "+236346166386230", "role": "partner", "team": "00000001-0000-0000-0000-000000000000", - "url" :null + "url": null }, { "created_at": "1864-05-09T04:46:03.504Z", @@ -43,7 +43,7 @@ "phone": "+80162248", "role": "admin", "team": "00000001-0000-0001-0000-000100000001", - "url" :null + "url": null }, { "created_at": "1864-05-09T12:53:52.047Z", @@ -54,7 +54,7 @@ "phone": null, "role": "owner", "team": "00000000-0000-0001-0000-000100000001", - "url" :null + "url": null } ] } diff --git a/libs/wire-api/test/golden/testObject_NewConv_user_1.json b/libs/wire-api/test/golden/testObject_NewConv_user_1.json index 62b6d2cd506..5428edb5f30 100644 --- a/libs/wire-api/test/golden/testObject_NewConv_user_1.json +++ b/libs/wire-api/test/golden/testObject_NewConv_user_1.json @@ -3,8 +3,7 @@ "private", "invite" ], - "access_role": "non_activated", - "access_role_v2": [ + "access_roles": [ "team_member", "guest" ], diff --git a/libs/wire-api/test/golden/testObject_NewConv_user_3.json b/libs/wire-api/test/golden/testObject_NewConv_user_3.json index 799071f5b35..b0cd7bc8098 100644 --- a/libs/wire-api/test/golden/testObject_NewConv_user_3.json +++ b/libs/wire-api/test/golden/testObject_NewConv_user_3.json @@ -4,8 +4,7 @@ "link", "code" ], - "access_role": "non_activated", - "access_role_v2": [ + "access_roles": [ "team_member", "guest" ], diff --git a/libs/wire-api/test/golden/testObject_NewConv_v2_user_1.json b/libs/wire-api/test/golden/testObject_NewConv_v2_user_1.json new file mode 100644 index 00000000000..62b6d2cd506 --- /dev/null +++ b/libs/wire-api/test/golden/testObject_NewConv_v2_user_1.json @@ -0,0 +1,24 @@ +{ + "access": [ + "private", + "invite" + ], + "access_role": "non_activated", + "access_role_v2": [ + "team_member", + "guest" + ], + "conversation_role": "8tp2gs7b6", + "message_timer": 3320987366258987, + "protocol": "proteus", + "qualified_users": [], + "receipt_mode": 1, + "team": { + "managed": false, + "teamid": "00000000-0000-0001-0000-000000000000" + }, + "users": [ + "00000001-0000-0000-0000-000000000001", + "00000000-0000-0000-0000-000000000000" + ] +} diff --git a/libs/wire-api/test/golden/testObject_NewConv_v2_user_3.json b/libs/wire-api/test/golden/testObject_NewConv_v2_user_3.json new file mode 100644 index 00000000000..799071f5b35 --- /dev/null +++ b/libs/wire-api/test/golden/testObject_NewConv_v2_user_3.json @@ -0,0 +1,17 @@ +{ + "access": [ + "invite", + "link", + "code" + ], + "access_role": "non_activated", + "access_role_v2": [ + "team_member", + "guest" + ], + "conversation_role": "y3otpiwu615lvvccxsq0315jj75jquw01flhtuf49t6mzfurvwe3_sh51f4s257e2x47zo85rif_xyiyfldpan3g4r6zr35rbwnzm0k", + "creator_client": "beef", + "protocol": "mls", + "qualified_users": [], + "users": [] +} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_1.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_1.json deleted file mode 100644 index 920ce18c589..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_1.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "status": "disabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_10.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_10.json deleted file mode 100644 index 920ce18c589..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_10.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "status": "disabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_11.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_11.json deleted file mode 100644 index 920ce18c589..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_11.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "status": "disabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_12.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_12.json deleted file mode 100644 index fb16b194946..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_12.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_13.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_13.json deleted file mode 100644 index fb16b194946..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_13.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_14.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_14.json deleted file mode 100644 index fb16b194946..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_14.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_15.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_15.json deleted file mode 100644 index 920ce18c589..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_15.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "status": "disabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_16.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_16.json deleted file mode 100644 index fb16b194946..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_16.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_17.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_17.json deleted file mode 100644 index 920ce18c589..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_17.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "status": "disabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_18.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_18.json deleted file mode 100644 index fb16b194946..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_18.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_19.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_19.json deleted file mode 100644 index 920ce18c589..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_19.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "status": "disabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_2.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_2.json deleted file mode 100644 index fb16b194946..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_2.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_20.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_20.json deleted file mode 100644 index 920ce18c589..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_20.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "status": "disabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_3.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_3.json deleted file mode 100644 index fb16b194946..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_3.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_4.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_4.json deleted file mode 100644 index fb16b194946..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_4.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_5.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_5.json deleted file mode 100644 index fb16b194946..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_5.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_6.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_6.json deleted file mode 100644 index 920ce18c589..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_6.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "status": "disabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_7.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_7.json deleted file mode 100644 index fb16b194946..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_7.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_8.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_8.json deleted file mode 100644 index 920ce18c589..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_8.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "status": "disabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_9.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_9.json deleted file mode 100644 index fb16b194946..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusNoConfig_team_9.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_1.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_1.json deleted file mode 100644 index 78bf971c5a4..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_1.json +++ /dev/null @@ -1 +0,0 @@ -"enabled" diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_10.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_10.json deleted file mode 100644 index a0760977f71..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_10.json +++ /dev/null @@ -1 +0,0 @@ -"disabled" diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_11.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_11.json deleted file mode 100644 index 78bf971c5a4..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_11.json +++ /dev/null @@ -1 +0,0 @@ -"enabled" diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_12.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_12.json deleted file mode 100644 index 78bf971c5a4..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_12.json +++ /dev/null @@ -1 +0,0 @@ -"enabled" diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_13.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_13.json deleted file mode 100644 index 78bf971c5a4..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_13.json +++ /dev/null @@ -1 +0,0 @@ -"enabled" diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_14.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_14.json deleted file mode 100644 index a0760977f71..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_14.json +++ /dev/null @@ -1 +0,0 @@ -"disabled" diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_15.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_15.json deleted file mode 100644 index a0760977f71..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_15.json +++ /dev/null @@ -1 +0,0 @@ -"disabled" diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_16.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_16.json deleted file mode 100644 index a0760977f71..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_16.json +++ /dev/null @@ -1 +0,0 @@ -"disabled" diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_17.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_17.json deleted file mode 100644 index a0760977f71..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_17.json +++ /dev/null @@ -1 +0,0 @@ -"disabled" diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_18.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_18.json deleted file mode 100644 index a0760977f71..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_18.json +++ /dev/null @@ -1 +0,0 @@ -"disabled" diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_19.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_19.json deleted file mode 100644 index 78bf971c5a4..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_19.json +++ /dev/null @@ -1 +0,0 @@ -"enabled" diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_2.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_2.json deleted file mode 100644 index a0760977f71..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_2.json +++ /dev/null @@ -1 +0,0 @@ -"disabled" diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_20.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_20.json deleted file mode 100644 index a0760977f71..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_20.json +++ /dev/null @@ -1 +0,0 @@ -"disabled" diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_3.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_3.json deleted file mode 100644 index 78bf971c5a4..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_3.json +++ /dev/null @@ -1 +0,0 @@ -"enabled" diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_4.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_4.json deleted file mode 100644 index a0760977f71..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_4.json +++ /dev/null @@ -1 +0,0 @@ -"disabled" diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_5.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_5.json deleted file mode 100644 index 78bf971c5a4..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_5.json +++ /dev/null @@ -1 +0,0 @@ -"enabled" diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_6.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_6.json deleted file mode 100644 index a0760977f71..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_6.json +++ /dev/null @@ -1 +0,0 @@ -"disabled" diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_7.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_7.json deleted file mode 100644 index 78bf971c5a4..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_7.json +++ /dev/null @@ -1 +0,0 @@ -"enabled" diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_8.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_8.json deleted file mode 100644 index 78bf971c5a4..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_8.json +++ /dev/null @@ -1 +0,0 @@ -"enabled" diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_9.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_9.json deleted file mode 100644 index a0760977f71..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusValue_team_9.json +++ /dev/null @@ -1 +0,0 @@ -"disabled" diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_1.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_1.json deleted file mode 100644 index 66a69f69b1f..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_1.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "config": { - "enforceAppLock": false, - "inactivityTimeoutSecs": -98 - }, - "status": "disabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_10.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_10.json deleted file mode 100644 index 75f0b001c52..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_10.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "config": { - "enforceAppLock": false, - "inactivityTimeoutSecs": 120 - }, - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_11.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_11.json deleted file mode 100644 index eafc7e40804..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_11.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "config": { - "enforceAppLock": true, - "inactivityTimeoutSecs": 62 - }, - "status": "disabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_12.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_12.json deleted file mode 100644 index 43f961c2500..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_12.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "config": { - "enforceAppLock": true, - "inactivityTimeoutSecs": -50 - }, - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_13.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_13.json deleted file mode 100644 index 139bac441da..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_13.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "config": { - "enforceAppLock": false, - "inactivityTimeoutSecs": -99 - }, - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_14.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_14.json deleted file mode 100644 index e8271d3d4b5..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_14.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "config": { - "enforceAppLock": false, - "inactivityTimeoutSecs": -96 - }, - "status": "disabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_15.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_15.json deleted file mode 100644 index 954360479ff..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_15.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "config": { - "enforceAppLock": false, - "inactivityTimeoutSecs": -12 - }, - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_16.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_16.json deleted file mode 100644 index 9aa6c4cf472..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_16.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "config": { - "enforceAppLock": true, - "inactivityTimeoutSecs": -60 - }, - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_17.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_17.json deleted file mode 100644 index e8b6267e67b..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_17.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "config": { - "enforceAppLock": true, - "inactivityTimeoutSecs": 100 - }, - "status": "disabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_18.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_18.json deleted file mode 100644 index 6e2a810f3fd..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_18.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "config": { - "enforceAppLock": true, - "inactivityTimeoutSecs": 74 - }, - "status": "disabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_19.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_19.json deleted file mode 100644 index 06a02b31411..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_19.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "config": { - "enforceAppLock": false, - "inactivityTimeoutSecs": -125 - }, - "status": "disabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_2.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_2.json deleted file mode 100644 index e566224c5f3..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_2.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "config": { - "enforceAppLock": false, - "inactivityTimeoutSecs": 14 - }, - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_20.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_20.json deleted file mode 100644 index e65c5f047ac..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_20.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "config": { - "enforceAppLock": true, - "inactivityTimeoutSecs": 69 - }, - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_3.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_3.json deleted file mode 100644 index 19451686892..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_3.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "config": { - "enforceAppLock": true, - "inactivityTimeoutSecs": 92 - }, - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_4.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_4.json deleted file mode 100644 index 5d98e6f2af7..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_4.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "config": { - "enforceAppLock": false, - "inactivityTimeoutSecs": 45 - }, - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_5.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_5.json deleted file mode 100644 index 7469262bb92..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_5.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "config": { - "enforceAppLock": true, - "inactivityTimeoutSecs": 119 - }, - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_6.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_6.json deleted file mode 100644 index 1f5e32f39bc..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_6.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "config": { - "enforceAppLock": false, - "inactivityTimeoutSecs": -50 - }, - "status": "disabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_7.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_7.json deleted file mode 100644 index 9c0cdda20d8..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_7.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "config": { - "enforceAppLock": false, - "inactivityTimeoutSecs": -50 - }, - "status": "enabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_8.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_8.json deleted file mode 100644 index 18831a5159c..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_8.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "config": { - "enforceAppLock": true, - "inactivityTimeoutSecs": -76 - }, - "status": "disabled" -} diff --git a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_9.json b/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_9.json deleted file mode 100644 index 705400444f1..00000000000 --- a/libs/wire-api/test/golden/testObject_TeamFeatureStatusWithConfig_20TeamFeatureAppLockConfig_team_9.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "config": { - "enforceAppLock": false, - "inactivityTimeoutSecs": 96 - }, - "status": "disabled" -} diff --git a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_1.json b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_1.json index b1d23c68d9c..7622889a460 100644 --- a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_1.json +++ b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_1.json @@ -5,5 +5,5 @@ }, "lockStatus": "unlocked", "status": "enabled", - "ttl" : "unlimited" + "ttl": "unlimited" } diff --git a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_10.json b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_10.json index d9d048dbac5..cacda1ee8de 100644 --- a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_10.json +++ b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_10.json @@ -2,5 +2,5 @@ "config": {}, "lockStatus": "locked", "status": "disabled", - "ttl" : "unlimited" + "ttl": "unlimited" } diff --git a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_11.json b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_11.json index 36188e6b66e..d527b82217b 100644 --- a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_11.json +++ b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_11.json @@ -2,5 +2,5 @@ "config": {}, "lockStatus": "locked", "status": "enabled", - "ttl" : "unlimited" + "ttl": "unlimited" } diff --git a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_12.json b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_12.json index 22daeff858a..22c2f0fd837 100644 --- a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_12.json +++ b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_12.json @@ -1,5 +1,5 @@ { "config": {}, "status": "disabled", - "ttl" : "unlimited" + "ttl": "unlimited" } diff --git a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_13.json b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_13.json index 36188e6b66e..d527b82217b 100644 --- a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_13.json +++ b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_13.json @@ -2,5 +2,5 @@ "config": {}, "lockStatus": "locked", "status": "enabled", - "ttl" : "unlimited" + "ttl": "unlimited" } diff --git a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_14.json b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_14.json index e00849d588a..d9c772e591c 100644 --- a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_14.json +++ b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_14.json @@ -1,5 +1,5 @@ { "config": {}, "lockStatus": "unlocked", - "ttl" : "unlimited" + "ttl": "unlimited" } diff --git a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_15.json b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_15.json index 7ba8af60d9d..ad60a9e6a83 100644 --- a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_15.json +++ b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_15.json @@ -2,5 +2,5 @@ "config": {}, "lockStatus": "unlocked", "status": "enabled", - "ttl" : "unlimited" + "ttl": "unlimited" } diff --git a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_16.json b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_16.json index 50886b60c5c..7d1121ed548 100644 --- a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_16.json +++ b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_16.json @@ -2,5 +2,5 @@ "config": {}, "lockStatus": "unlocked", "status": "disabled", - "ttl" : "unlimited" + "ttl": "unlimited" } diff --git a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_18.json b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_18.json index a8a076301b0..6fc75ed3ba5 100644 --- a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_18.json +++ b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_18.json @@ -1,4 +1,4 @@ { "status": "enabled", - "ttl" : "unlimited" + "ttl": "unlimited" } diff --git a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_19.json b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_19.json index 8854a8126fc..5eab3bdf441 100644 --- a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_19.json +++ b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_19.json @@ -1,4 +1,4 @@ { "lockStatus": "unlocked", - "ttl" : "unlimited" + "ttl": "unlimited" } diff --git a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_2.json b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_2.json index cb681e75db4..65d8c450d0a 100644 --- a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_2.json +++ b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_2.json @@ -3,5 +3,5 @@ "enforceAppLock": true, "inactivityTimeoutSecs": 0 }, - "ttl" : "unlimited" + "ttl": "unlimited" } diff --git a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_3.json b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_3.json index dc67bb2702e..163c101b776 100644 --- a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_3.json +++ b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_3.json @@ -5,5 +5,5 @@ }, "lockStatus": "locked", "status": "enabled", - "ttl" : "unlimited" + "ttl": "unlimited" } diff --git a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_4.json b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_4.json index d6afd266bb9..2746f15a609 100644 --- a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_4.json +++ b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_4.json @@ -3,5 +3,5 @@ "enforcedTimeoutSeconds": -97 }, "status": "enabled", - "ttl" : "unlimited" + "ttl": "unlimited" } diff --git a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_5.json b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_5.json index fff5e5e5434..bf05bd63e58 100644 --- a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_5.json +++ b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_5.json @@ -4,5 +4,5 @@ }, "lockStatus": "unlocked", "status": "enabled", - "ttl" : "unlimited" + "ttl": "unlimited" } diff --git a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_6.json b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_6.json index f2a6e9404f7..2692d5afda2 100644 --- a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_6.json +++ b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_6.json @@ -3,5 +3,5 @@ "enforcedTimeoutSeconds": 77 }, "status": "enabled", - "ttl" : "unlimited" + "ttl": "unlimited" } diff --git a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_7.json b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_7.json index a60d276628d..8d21d6e0f3c 100644 --- a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_7.json +++ b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_7.json @@ -4,5 +4,5 @@ }, "lockStatus": "locked", "status": "enabled", - "ttl" : "unlimited" + "ttl": "unlimited" } diff --git a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_8.json b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_8.json index 166c99a213b..57f73b783d4 100644 --- a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_8.json +++ b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_8.json @@ -6,5 +6,5 @@ ] }, "lockStatus": "locked", - "ttl" : "unlimited" + "ttl": "unlimited" } diff --git a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_9.json b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_9.json index 0e9130e9666..19403614729 100644 --- a/libs/wire-api/test/golden/testObject_WithStatusPatch_team_9.json +++ b/libs/wire-api/test/golden/testObject_WithStatusPatch_team_9.json @@ -6,5 +6,5 @@ }, "lockStatus": "unlocked", "status": "enabled", - "ttl" : "unlimited" + "ttl": "unlimited" } diff --git a/libs/wire-api/test/golden/testObject_WithStatus_team_11.json b/libs/wire-api/test/golden/testObject_WithStatus_team_11.json index bae7bb42e58..1bd84a5bae0 100644 --- a/libs/wire-api/test/golden/testObject_WithStatus_team_11.json +++ b/libs/wire-api/test/golden/testObject_WithStatus_team_11.json @@ -1,5 +1,5 @@ { "lockStatus": "locked", "status": "enabled", - "ttl" : "unlimited" + "ttl": "unlimited" }