File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
owncloudData/src/test/java/com/owncloud/android/data/spaces/repository Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 33 *
44 * @author Jorge Aguado Recio
55 *
6- * Copyright (C) 2024 ownCloud GmbH.
6+ * Copyright (C) 2025 ownCloud GmbH.
77 *
88 * This program is free software: you can redistribute it and/or modify
99 * it under the terms of the GNU General Public License version 2,
@@ -221,14 +221,14 @@ class OCSpacesRepositoryTest {
221221 @Test
222222 fun `getSpaceByIdForAccount returns an OCSpace` () {
223223 every {
224- localSpacesDataSource.getSpaceByIdForAccount(OC_SPACE_PROJECT_WITH_IMAGE .id, OC_ACCOUNT_NAME )
225- } returns OC_SPACE_PROJECT_WITH_IMAGE
224+ localSpacesDataSource.getSpaceByIdForAccount(OC_SPACE_PERSONAL .id, OC_ACCOUNT_NAME )
225+ } returns OC_SPACE_PERSONAL
226226
227- val space = ocSpacesRepository.getSpaceByIdForAccount(OC_SPACE_PROJECT_WITH_IMAGE .id, OC_ACCOUNT_NAME )
228- assertEquals(OC_SPACE_PROJECT_WITH_IMAGE , space)
227+ val space = ocSpacesRepository.getSpaceByIdForAccount(OC_SPACE_PERSONAL .id, OC_ACCOUNT_NAME )
228+ assertEquals(OC_SPACE_PERSONAL , space)
229229
230230 verify(exactly = 1 ) {
231- localSpacesDataSource.getSpaceByIdForAccount(OC_SPACE_PROJECT_WITH_IMAGE .id, OC_ACCOUNT_NAME )
231+ localSpacesDataSource.getSpaceByIdForAccount(OC_SPACE_PERSONAL .id, OC_ACCOUNT_NAME )
232232 }
233233 }
234234
You can’t perform that action at this time.
0 commit comments