File tree Expand file tree Collapse file tree
backend/app/src/test/kotlin/io/tolgee/api/v2/controllers/apps Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,7 +81,8 @@ class NativeAppsControllerTest : AuthorizedControllerTest() {
8181
8282 val install = AppsTestFixtures .nativeInstalls(appInstallService).single()
8383 install.organization.assert .isNull()
84- install.author.id.assert .isEqualTo(testData.admin.id)
84+ install.author.id.assert
85+ .isEqualTo(testData.admin.id)
8586
8687 performAuthGet(" /v2/administration/apps" ).andIsOk.andAssertThatJson {
8788 node(" _embedded.appInstalls" ).isArray.hasSize(1 )
@@ -112,7 +113,11 @@ class NativeAppsControllerTest : AuthorizedControllerTest() {
112113 node(" code" ).isEqualTo(" app_already_installed" )
113114 }
114115
115- AppsTestFixtures .nativeInstalls(appInstallService).map { it.id }.assert .containsExactly(install.id)
116+ AppsTestFixtures
117+ .nativeInstalls(appInstallService)
118+ .map { it.id }
119+ .assert
120+ .containsExactly(install.id)
116121 }
117122
118123 @Test
You can’t perform that action at this time.
0 commit comments