Permissions/rows #134
Unit/Integration Tests ❌
❌ build/test-results/test/TEST-com.campudus.tableaux.api.auth.AuthorizationTest.xml
7 tests were completed in 1s with 6 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.AuthorizationTest | 6✅ | 1❌ | 1s |
❌ com.campudus.tableaux.api.auth.AuthorizationTest
❌ deleteTable_withoutRole
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
✅ testAuthorization_expirationTimeLiesInThePast_unauthorized
✅ deleteTable_validRole
✅ testAuthorization_invalidAudience_unauthorized
✅ testAuthorization_tokenSignedWithDifferentKey_unauthorized
✅ testAuthorization__correctSignedToken_validAudience_validIssuer__ok
✅ testAuthorization_invalidIssuer_unauthorized
❌ build/test-results/test/TEST-com.campudus.tableaux.api.auth.ColumnEnrichAuthTests.xml
15 tests were completed in 4s with 10 passed, 5 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.ColumnEnrichAuthTests | 10✅ | 5❌ | 4s |
❌ com.campudus.tableaux.api.auth.ColumnEnrichAuthTests
❌ enrichColumn_editCellValueIsAllowedForCountryTagsATAndGB
java.util.concurrent.ExecutionException: Boxed Error
✅ enrichColumn_editCellValueWithoutLangtagConditionIsAllowedForAllCountryTags
✅ enrichColumn_allActionsAreAllowed
✅ enrichColumnSeq_createIsAllowed
❌ enrichColumn_editCellValueIsAllowedForLangtagsDeAndEs
java.util.concurrent.ExecutionException: Boxed Error
✅ enrichColumn_editCellValueWithoutLangtagConditionIsAllowedForAllLangtags
❌ enrichColumn_noActionIsAllowed
java.util.concurrent.ExecutionException: Boxed Error
❌ enrichColumnSeq_createIsNotAllowed
java.util.concurrent.ExecutionException: Boxed Error
❌ deleteTable_withoutRole
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
✅ testAuthorization_expirationTimeLiesInThePast_unauthorized
✅ deleteTable_validRole
✅ testAuthorization_invalidAudience_unauthorized
✅ testAuthorization_tokenSignedWithDifferentKey_unauthorized
✅ testAuthorization__correctSignedToken_validAudience_validIssuer__ok
✅ testAuthorization_invalidIssuer_unauthorized
❌ build/test-results/test/TEST-com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization.xml
17 tests were completed in 3s with 9 passed, 8 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization | 9✅ | 8❌ | 3s |
❌ com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization
❌ deleteFile_notAuthorized_throwsException
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
✅ mergeFile_authorized_ok
✅ updateFolder_authorized_ok
❌ updateFile_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ deleteFolder_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
✅ deleteFolder_authorized_ok
✅ uploadFile_authorized_ok
✅ updateFile_authorized_ok
❌ deleteFileLang_notAuthorized_throwsException
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
❌ mergeFile_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ createFolder_notAuthorized_throwsException
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
✅ deleteFileLang_authorized_ok
✅ createFile_authorized_ok
❌ updateFolder_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ createFile_notAuthorized_throwsException
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
✅ deleteFile_authorized_ok
✅ createFolder_authorized_ok
❌ build/test-results/test/TEST-com.campudus.tableaux.api.auth.MediaEnrichAuthTests.xml
10 tests were completed in 2s with 6 passed, 4 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.MediaEnrichAuthTests | 6✅ | 4❌ | 2s |
❌ com.campudus.tableaux.api.auth.MediaEnrichAuthTests
❌ enrich_editAndDeleteGranted_onlyEditAndDeleteAreAllowed
java.util.concurrent.ExecutionException: Boxed Error
❌ enrich_editAndDeleteGranted_deleteDenied_onlyEditIsAllowed
java.util.concurrent.ExecutionException: Boxed Error
❌ enrich_noPermission_noActionIsAllowed
java.util.concurrent.ExecutionException: Boxed Error
❌ deleteTable_withoutRole
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
✅ testAuthorization_expirationTimeLiesInThePast_unauthorized
✅ deleteTable_validRole
✅ testAuthorization_invalidAudience_unauthorized
✅ testAuthorization_tokenSignedWithDifferentKey_unauthorized
✅ testAuthorization__correctSignedToken_validAudience_validIssuer__ok
✅ testAuthorization_invalidIssuer_unauthorized
✅ build/test-results/test/TEST-com.campudus.tableaux.api.auth.permission.PermissionTest.xml
15 tests were completed in 8ms with 15 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.permission.PermissionTest | 15✅ | 8ms |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.auth.permission.RoleModelTest.xml
10 tests were completed in 12ms with 10 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.permission.RoleModelTest | 10✅ | 12ms |
❌ build/test-results/test/TEST-com.campudus.tableaux.api.auth.ServiceEnrichAuthTests.xml
11 tests were completed in 2s with 8 passed, 3 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.ServiceEnrichAuthTests | 8✅ | 3❌ | 2s |
❌ com.campudus.tableaux.api.auth.ServiceEnrichAuthTests
✅ retrieveServices_createIsAllowed
❌ retrieveServices_createIsNotAllowed
java.util.concurrent.ExecutionException: Boxed Error
❌ retrieveService_noActionIsAllowed
java.util.concurrent.ExecutionException: Boxed Error
✅ retrieveService_allActionsAreAllowed
❌ deleteTable_withoutRole
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
✅ testAuthorization_expirationTimeLiesInThePast_unauthorized
✅ deleteTable_validRole
✅ testAuthorization_invalidAudience_unauthorized
✅ testAuthorization_tokenSignedWithDifferentKey_unauthorized
✅ testAuthorization__correctSignedToken_validAudience_validIssuer__ok
✅ testAuthorization_invalidIssuer_unauthorized
❌ build/test-results/test/TEST-com.campudus.tableaux.api.auth.StructureControllerAuthTest_filterAuthorization.xml
15 tests were completed in 6s with 4 passed, 11 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.StructureControllerAuthTest_filterAuthorization | 4✅ | 11❌ | 6s |
❌ com.campudus.tableaux.api.auth.StructureControllerAuthTest_filterAuthorization
❌ retrieveTables_noViewPermission_returnEmptyList
java.util.concurrent.ExecutionException: Boxed Error
❌ retrieveColumns_onlyColumnsFromModelTableAreViewable_ok
java.util.concurrent.ExecutionException: Boxed Error
❌ retrieveColumns_onlyColumnsWithKindNumericAreViewable_ok
java.util.concurrent.ExecutionException: Boxed Error
✅ retrieveSpecificColumn_allColumnsViewable_ok
❌ retrieveTables_threeTablesTwoViewable_returnTwo
java.util.concurrent.ExecutionException: Boxed Error
✅ retrieveTables_threeGenericAndOneSettingsTable_returnOnlyThreeGenericTables
❌ retrieveTables_threeTablesTwoViewableWithAdditionalConditions_returnTwo
java.util.concurrent.ExecutionException: Boxed Error
❌ retrieveColumns_noViewPermission_returnEmptyList
java.util.concurrent.ExecutionException: Boxed Error
❌ retrieveSpecificColumn_onlyColumnWithId1AndOfTable1Viewable_ok
java.util.concurrent.ExecutionException: Boxed Error
✅ retrieveSpecificTable_authorized_ok
❌ retrieveSpecificColumn_allColumnsWithId1Viewable_ok
java.util.concurrent.ExecutionException: Boxed Error
❌ retrieveSpecificTable_notAuthorized_throwsException
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
✅ retrieveTables_threeTablesAllViewable_returnAll
❌ retrieveSpecificColumn_notAuthorized_throwsException
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
❌ retrieveSpecificColumn_allColumnsOfTable1Viewable_ok
java.util.concurrent.ExecutionException: Boxed Error
❌ build/test-results/test/TEST-com.campudus.tableaux.api.auth.StructureControllerColumnAuthTest_checkAuthorization.xml
12 tests were completed in 4s with 4 passed, 8 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.StructureControllerColumnAuthTest_checkAuthorization | 4✅ | 8❌ | 4s |
❌ com.campudus.tableaux.api.auth.StructureControllerColumnAuthTest_checkAuthorization
✅ changeColumnEditStructureProperty_authorized_ok
✅ changeColumnEditDisplayProperty_authorized_ok
❌ deleteColumn_notAuthorized_throwsException
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
❌ deleteColumn_authorizedForIdentifier_notAuthorizedForNonIdentifier
java.util.concurrent.ExecutionException: Boxed Error
✅ createColumn_authorized_ok
❌ changeColumnEditDisplayProperty_notAuthorized_throwsException
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
❌ changeColumnEditStructureProperty_notAuthorized_throwsException
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
❌ deleteColumn_authorizedInModelTables_notAuthorizedInVariantTables
java.util.concurrent.ExecutionException: Boxed Error
✅ deleteColumn_authorized_ok
❌ changeColumnEditStructureProperty_authorizedInModelTables_notAuthorizedInVariantTables
java.util.concurrent.ExecutionException: Boxed Error
❌ createColumn_authorizedInModelTables_notAuthorizedInVariantTables
java.util.concurrent.ExecutionException: Boxed Error
❌ createColumn_notAuthorized_throwsException
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
❌ build/test-results/test/TEST-com.campudus.tableaux.api.auth.StructureControllerTableAuthTest_checkAuthorization.xml
11 tests were completed in 3s with 5 passed, 6 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.StructureControllerTableAuthTest_checkAuthorization | 5✅ | 6❌ | 3s |
❌ com.campudus.tableaux.api.auth.StructureControllerTableAuthTest_checkAuthorization
✅ createTable_authorized_ok
❌ deleteTable_modelAllowedOthersNot
java.util.concurrent.ExecutionException: Boxed Error
❌ changeTableDisplayProperties_notAuthorized_throwsException
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
❌ changeTableOrder_notAuthorized_throwsException
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
✅ changeTableOrder_authorized_ok
❌ createTable_notAuthorized_throwsException
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
❌ deleteTable_notAuthorized_throwsException
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
✅ changeTableDisplayProperties_authorized_ok
❌ changeTableStructureProperties_notAuthorized_throwsException
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
✅ deleteTable_authorized_ok
✅ changeTableStructureProperties_authorized_ok
❌ build/test-results/test/TEST-com.campudus.tableaux.api.auth.StructureControllerTableGroupAuthTest_checkAuthorization.xml
6 tests were completed in 817ms with 3 passed, 3 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.StructureControllerTableGroupAuthTest_checkAuthorization | 3✅ | 3❌ | 817ms |
❌ com.campudus.tableaux.api.auth.StructureControllerTableGroupAuthTest_checkAuthorization
✅ updateTableGroup_authorized_ok
✅ createTableGroup_authorized_ok
❌ deleteTableGroup_notAuthorized_throwsException
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
❌ createTableGroup_notAuthorized_throwsException
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
✅ deleteTableGroup_authorized_ok
❌ updateTableGroup_notAuthorized_throwsException
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
❌ build/test-results/test/TEST-com.campudus.tableaux.api.auth.SystemControllerAuthTest_checkAuthorization.xml
17 tests were completed in 4s with 9 passed, 8 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.SystemControllerAuthTest_checkAuthorization | 9✅ | 8❌ | 4s |
❌ com.campudus.tableaux.api.auth.SystemControllerAuthTest_checkAuthorization
✅ reset_authorized_ok
❌ updateSetting_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ resetDB_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ reset_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ createService_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
✅ updateDB_authorized_ok
❌ retrieveService_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
✅ deleteService_authorized_ok
✅ updateServiceEditDisplayProperties_authorized_ok
✅ retrieveService_authorized_ok
✅ resetDB_authorized_ok
❌ updateServiceEditStructureProperty_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
✅ updateSetting_authorized_ok
✅ createService_authorized_ok
✅ updateServiceEditStructureProperty_authorized_ok
❌ updateDB_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ deleteService_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ build/test-results/test/TEST-com.campudus.tableaux.api.auth.SystemControllerAuthTest_filterAuthorization.xml
2 tests were completed in 285ms with 1 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.SystemControllerAuthTest_filterAuthorization | 1✅ | 1❌ | 285ms |
❌ com.campudus.tableaux.api.auth.SystemControllerAuthTest_filterAuthorization
✅ retrieveServices_authorized_ok
❌ retrieveServices_noViewPermission_returnEmptyList
java.util.concurrent.ExecutionException: Boxed Error
❌ build/test-results/test/TEST-com.campudus.tableaux.api.auth.TableAuthEnrichTests.xml
14 tests were completed in 2s with 10 passed, 4 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.TableAuthEnrichTests | 10✅ | 4❌ | 2s |
❌ com.campudus.tableaux.api.auth.TableAuthEnrichTests
❌ enrichTableSeq_createIsNotAllowed
java.util.concurrent.ExecutionException: Boxed Error
✅ enrichTable_allActionsAreAllowed
❌ enrichTable_editStructureProperty_onlyForModelTablesAllowed
java.util.concurrent.ExecutionException: Boxed Error
❌ enrichTable_noActionIsAllowed
java.util.concurrent.ExecutionException: Boxed Error
✅ enrichTableSeq_createIsAllowed
✅ enrich_createGranted_onlyCreateIsAllowed
✅ enrichTable_editPropertiesAreAllowed
❌ deleteTable_withoutRole
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
✅ testAuthorization_expirationTimeLiesInThePast_unauthorized
✅ deleteTable_validRole
✅ testAuthorization_invalidAudience_unauthorized
✅ testAuthorization_tokenSignedWithDifferentKey_unauthorized
✅ testAuthorization__correctSignedToken_validAudience_validIssuer__ok
✅ testAuthorization_invalidIssuer_unauthorized
❌ build/test-results/test/TEST-com.campudus.tableaux.api.auth.TableauxControllerAuthTest_annotation.xml
14 tests were completed in 4s with 6 passed, 8 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.TableauxControllerAuthTest_annotation | 6✅ | 8❌ | 4s |
❌ com.campudus.tableaux.api.auth.TableauxControllerAuthTest_annotation
❌ deleteCellHistoryWithLangtag_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ updateRowsAnnotations_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ updateRowAnnotations_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
✅ updateRowAnnotations_authorized_ok
❌ retrieveCellHistory_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
✅ retrieveAnnotations_authorized_ok
✅ deleteCellAnnotationWithLangtag_authorized_ok
✅ deleteCellAnnotation_authorized_ok
✅ createCellAnnotation_authorized_ok
❌ retrieveAnnotations_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ retrieveAnnotationCount_notEvenOneTableIsViewable
java.util.concurrent.ExecutionException: Boxed Error
❌ retrieveAnnotationCount_onlyTableTwoIsViewable_ok
java.util.concurrent.ExecutionException: Boxed Error
❌ deleteCellHistory_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
✅ updateRowsAnnotations_authorized_ok
❌ build/test-results/test/TEST-com.campudus.tableaux.api.auth.TableauxControllerAuthTest_attachmentCell.xml
2 tests were completed in 768ms with 1 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.TableauxControllerAuthTest_attachmentCell | 1✅ | 1❌ | 768ms |
❌ com.campudus.tableaux.api.auth.TableauxControllerAuthTest_attachmentCell
✅ deleteAttachmentOfCell_authorized_ok
❌ deleteAttachmentOfCell_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ build/test-results/test/TEST-com.campudus.tableaux.api.auth.TableauxControllerAuthTest_cell.xml
12 tests were completed in 3s with 6 passed, 6 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.TableauxControllerAuthTest_cell | 6✅ | 6❌ | 3s |
❌ com.campudus.tableaux.api.auth.TableauxControllerAuthTest_cell
✅ replaceCell_authorizedOnSingleLanguageColumns
❌ retrieveCell_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
✅ clearCell_authorizedOnMultilanguageIfAllLangtagsAreEditable
❌ retrieveCell_authorizedInModelTables_notAuthorizedInVariantTables
java.util.concurrent.ExecutionException: Boxed Error
✅ clearCell_authorizedOnSingleLanguageColumns
✅ retrieveCell_langtagConditionMustNotBeConsideredOnActionView
✅ retrieveCell_authorized_ok
❌ updateCell_onlyAuthorizedForSingleLanguageAndLangtagDE
java.util.concurrent.ExecutionException: Boxed Error
✅ replaceCell_authorizedOnMultilanguageIfAllLangtagsAreEditable
❌ clearCell_not_authorizedOnMultilanguageIfNotAllLangtagsAreEditable
java.util.concurrent.ExecutionException: Boxed Error
❌ replaceCell_not_authorizedOnMultilanguageIfNotAllLangtagsAreEditable
java.util.concurrent.ExecutionException: Boxed Error
❌ retrieveCell_authorizedInModelTableAndTextColumns
java.util.concurrent.ExecutionException: Boxed Error
❌ build/test-results/test/TEST-com.campudus.tableaux.api.auth.TableauxControllerAuthTest_completeTable.xml
7 tests were completed in 1s with 2 passed, 5 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.TableauxControllerAuthTest_completeTable | 2✅ | 5❌ | 1s |
❌ com.campudus.tableaux.api.auth.TableauxControllerAuthTest_completeTable
❌ retrieveCompleteTable_onlyMultilanguageColumnsAreViewable_ok
java.util.concurrent.ExecutionException: Boxed Error
❌ retrieveCompleteTable_tableNotViewable_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ createCompleteTable_createTableNotAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ createCompleteTable_createColumnsNotAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ createCompleteTable_createRows_throwsException
java.util.concurrent.ExecutionException: Boxed Error
✅ createCompleteTable_createRows_ok
✅ createCompleteTable_createColumnsAuthorizedWithoutRows_ok
❌ build/test-results/test/TEST-com.campudus.tableaux.api.auth.TableauxControllerAuthTest_history.xml
8 tests were completed in 2s with 3 passed, 5 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.TableauxControllerAuthTest_history | 3✅ | 5❌ | 2s |
❌ com.campudus.tableaux.api.auth.TableauxControllerAuthTest_history
✅ retrieveTableHistory_noFilter_returnsAllHistoryEntriesOfTable
❌ retrieveCellHistory_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ retrieveTableHistory_onlyTextColumnsViewable_returnEightHistoryEntries
java.util.concurrent.ExecutionException: Boxed Error
❌ retrieveTableHistory_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ retrieveRowHistory_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ retrieveRowHistory_onlyTextColumnsViewable_returnFourHistoryEntries
java.util.concurrent.ExecutionException: Boxed Error
✅ retrieveCellHistory_authorized_ok
✅ retrieveRowHistory_allColumnsViewable_returnAllSevenHistoryEntries
❌ build/test-results/test/TEST-com.campudus.tableaux.api.auth.TableauxControllerAuthTest_linkCell.xml
8 tests were completed in 4s with 4 passed, 4 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.TableauxControllerAuthTest_linkCell | 4✅ | 4❌ | 4s |
❌ com.campudus.tableaux.api.auth.TableauxControllerAuthTest_linkCell
✅ updateCellLinkOrder_authorized_ok
✅ deleteLinkOfCellIfOnlyFirstTableIsViewable_authorized_ok
❌ retrieveDependentRows_targetTableIsNotAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ updateCellLinkOrder_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ deleteLinkOfCell_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
✅ deleteLinkOfCell_authorized_ok
❌ retrieveRowsOfLinkCell_table1IsAuthorized_ok_table2IsNotAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
✅ retrieveDependentRows_authorized_ok
❌ build/test-results/test/TEST-com.campudus.tableaux.api.auth.TableauxControllerAuthTest_row.xml
17 tests were completed in 4s with 7 passed, 10 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.TableauxControllerAuthTest_row | 7✅ | 10❌ | 4s |
❌ com.campudus.tableaux.api.auth.TableauxControllerAuthTest_row
❌ retrieveRow_filterRowsForTheirColumns_ok
java.util.concurrent.ExecutionException: Boxed Error
❌ retrieveMultipleRows_filterRowsForTheirColumns_ok
java.util.concurrent.ExecutionException: Boxed Error
❌ createRowWithValuesColumnThreeAndFour_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ retrieveRowsOfFirstColumn_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ createRowWithValuesNoColumnsAreViewable_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ retrieveRowsOfColumn_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
✅ retrieveRowsOfColumn_authorized_ok
❌ createRow_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ duplicateRow_onlyValuesFromColumns3And4_valuesInColumns1And2AreEmpty
java.util.concurrent.ExecutionException: Boxed Error
✅ retrieveRowsOfFirstColumn_authorized_ok
✅ createRowWithValuesColumnThreeAndFour_authorized_ok
❌ deleteRow_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
❌ duplicateRow_createRowNotAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
✅ createRow_authorized_ok
✅ duplicateRow_authorized_ok
✅ createRowWithValuesColumnOneAndTwo_authorized_ok
✅ deleteRow_authorized_ok
❌ build/test-results/test/TEST-com.campudus.tableaux.api.auth.TableauxControllerAuthTest_translation.xml
2 tests were completed in 651ms with 1 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.TableauxControllerAuthTest_translation | 1✅ | 1❌ | 651ms |
❌ com.campudus.tableaux.api.auth.TableauxControllerAuthTest_translation
✅ retrieveTranslationStatus_forAllTables_ok
❌ retrieveTranslationStatus_forAllTablesEvenIfViewingIsNotGrantedForTable2_ok
java.util.concurrent.ExecutionException: Boxed Error
❌ build/test-results/test/TEST-com.campudus.tableaux.api.auth.TableauxControllerAuthTest_uniqueValues.xml
4 tests were completed in 800ms with 1 passed, 3 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.auth.TableauxControllerAuthTest_uniqueValues | 1✅ | 3❌ | 800ms |
❌ com.campudus.tableaux.api.auth.TableauxControllerAuthTest_uniqueValues
❌ retrieveColumnValues_onlyColumn2IsAllowed
java.util.concurrent.ExecutionException: Boxed Error
❌ retrieveColumnValues_notAuthorized_table_throwsException
java.util.concurrent.ExecutionException: Boxed Error
✅ retrieveColumnValues_authorized_ok
❌ retrieveColumnValues_notAuthorized_throwsException
java.util.concurrent.ExecutionException: Boxed Error
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.AnnotationCountTest.xml
4 tests were completed in 1s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.AnnotationCountTest | 4✅ | 1s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.CellLevelAnnotationsTest.xml
18 tests were completed in 4s with 18 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.CellLevelAnnotationsTest | 18✅ | 4s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.ClearCellTest.xml
1 tests were completed in 249ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.ClearCellTest | 1✅ | 249ms |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.ColumnValuesTest.xml
3 tests were completed in 830ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.ColumnValuesTest | 3✅ | 830ms |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.CreateAnnotationHistoryTest.xml
16 tests were completed in 3s with 13 passed, 0 failed and 3 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.CreateAnnotationHistoryTest | 13✅ | 3⚪ | 3s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.CreateAttachmentHistoryTest.xml
6 tests were completed in 2s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.CreateAttachmentHistoryTest | 6✅ | 2s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.CreateBidirectionalCompatibilityLinkHistoryTest.xml
10 tests were completed in 4s with 10 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.CreateBidirectionalCompatibilityLinkHistoryTest | 10✅ | 4s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.CreateBidirectionalLinkHistoryTest.xml
10 tests were completed in 4s with 10 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.CreateBidirectionalLinkHistoryTest | 10✅ | 4s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.CreateCompleteTableTest.xml
3 tests were completed in 491ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.CreateCompleteTableTest | 3✅ | 491ms |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.CreateHistoryCompatibilityTest.xml
20 tests were completed in 6s with 20 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.CreateHistoryCompatibilityTest | 20✅ | 6s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.CreateHistoryTest.xml
14 tests were completed in 3s with 14 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.CreateHistoryTest | 14✅ | 3s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.CreateMultiLanguageLinkHistoryTest.xml
1 tests were completed in 403ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.CreateMultiLanguageLinkHistoryTest | 1✅ | 403ms |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.CreateRowHistoryTest.xml
6 tests were completed in 1s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.CreateRowHistoryTest | 6✅ | 1s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.CreateRowTest.xml
6 tests were completed in 1s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.CreateRowTest | 6✅ | 1s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.CreateSimpleLinkHistoryTest.xml
8 tests were completed in 3s with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.CreateSimpleLinkHistoryTest | 8✅ | 3s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.CreateSimpleLinkOrderHistoryTest.xml
1 tests were completed in 415ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.CreateSimpleLinkOrderHistoryTest | 1✅ | 415ms |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.DeleteRowTest.xml
1 tests were completed in 148ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.DeleteRowTest | 1✅ | 148ms |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.DuplicateRowTest.xml
6 tests were completed in 2s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.DuplicateRowTest | 6✅ | 2s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.FillCellTest.xml
20 tests were completed in 4s with 20 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.FillCellTest | 20✅ | 4s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.IdentifierTest.xml
9 tests were completed in 4s with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.IdentifierTest | 9✅ | 4s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.LinkCardinalityTest.xml
9 tests were completed in 4s with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.LinkCardinalityTest | 9✅ | 4s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.LinkColumnTest.xml
12 tests were completed in 3s with 12 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.LinkColumnTest | 12✅ | 3s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.LinkDeleteCascadeTest.xml
14 tests were completed in 6s with 13 passed, 0 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.LinkDeleteCascadeTest | 13✅ | 1⚪ | 6s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.LinkDeleteReplaceRowIdTest.xml
5 tests were completed in 2s with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.LinkDeleteReplaceRowIdTest | 5✅ | 2s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.LinkOrderTest.xml
7 tests were completed in 3s with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.LinkOrderTest | 7✅ | 3s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.LinkTest.xml
24 tests were completed in 9s with 24 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.LinkTest | 24✅ | 9s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.MultiLanguageTest.xml
8 tests were completed in 2s with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.MultiLanguageTest | 8✅ | 2s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.RetrieveCellTest.xml
1 tests were completed in 200ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.RetrieveCellTest | 1✅ | 200ms |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.RetrieveGroupColumnTest.xml
3 tests were completed in 773ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.RetrieveGroupColumnTest | 3✅ | 773ms |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.RetrieveHistoryTest.xml
7 tests were completed in 1s with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.RetrieveHistoryTest | 7✅ | 1s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.RetrieveRowsTest.xml
15 tests were completed in 2s with 9 passed, 0 failed and 6 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.campudus.tableaux.api.content.RetrieveRowsTest | 9✅ | 6⚪ | 2s |
✅ build/test-results/test/TEST-com.campudus.tableaux.api.content.RetrieveTest.xml
4 tests were completed in 766ms with 4 passed, 0 failed and 0 skipped.
Report exceeded GitHub limit of 65535 bytes and has been trimmed
Annotations
Check failure on line 206 in src/test/scala/com/campudus/tableaux/testtools/TableauxTestBase.scala
github-actions / Unit/Integration Tests
com.campudus.tableaux.api.auth.AuthorizationTest ► deleteTable_withoutRole
Failed test found in:
build/test-results/test/TEST-com.campudus.tableaux.api.auth.AuthorizationTest.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.ColumnEnrichAuthTests.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.MediaEnrichAuthTests.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.ServiceEnrichAuthTests.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.StructureControllerAuthTest_filterAuthorization.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.StructureControllerAuthTest_filterAuthorization.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.StructureControllerColumnAuthTest_checkAuthorization.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.StructureControllerColumnAuthTest_checkAuthorization.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.StructureControllerColumnAuthTest_checkAuthorization.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.StructureControllerColumnAuthTest_checkAuthorization.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.StructureControllerTableAuthTest_checkAuthorization.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.StructureControllerTableAuthTest_checkAuthorization.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.StructureControllerTableAuthTest_checkAuthorization.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.StructureControllerTableAuthTest_checkAuthorization.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.StructureControllerTableAuthTest_checkAuthorization.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.StructureControllerTableGroupAuthTest_checkAuthorization.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.StructureControllerTableGroupAuthTest_checkAuthorization.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.StructureControllerTableGroupAuthTest_checkAuthorization.xml
build/test-results/test/TEST-com.campudus.tableaux.api.auth.TableAuthEnrichTests.xml
Error:
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
Raw output
java.lang.AssertionError: Test with id error.request.unauthorized should fail but got no exception.
at io.vertx.ext.unit.impl.TestContextImpl.reportAssertionError(TestContextImpl.java:362)
at io.vertx.ext.unit.impl.TestContextImpl.fail(TestContextImpl.java:230)
at com.campudus.tableaux.testtools.TableauxTestBase.$anonfun$exceptionTest$1(TableauxTestBase.scala:206)
at com.campudus.tableaux.testtools.TableauxTestBase.$anonfun$exceptionTest$1$adapted(TableauxTestBase.scala:202)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
at io.vertx.lang.scala.VertxExecutionContext.$anonfun$execute$1(VertxExecutionContext.scala:37)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369)
at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:495)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:829)
Check failure on line 46 in src/test/scala/com/campudus/tableaux/testtools/TestAssertionHelper.scala
github-actions / Unit/Integration Tests
com.campudus.tableaux.api.auth.ColumnEnrichAuthTests ► enrichColumn_editCellValueIsAllowedForCountryTagsATAndGB
Failed test found in:
build/test-results/test/TEST-com.campudus.tableaux.api.auth.ColumnEnrichAuthTests.xml
Error:
java.util.concurrent.ExecutionException: Boxed Error
Raw output
java.util.concurrent.ExecutionException: Boxed Error
at scala.concurrent.impl.Promise$.resolver(Promise.scala:87)
at scala.concurrent.impl.Promise$.scala$concurrent$impl$Promise$$resolveTry(Promise.scala:79)
at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:284)
at scala.concurrent.Promise.complete(Promise.scala:53)
at scala.concurrent.Promise.complete$(Promise.scala:52)
at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:187)
at scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:33)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
at io.vertx.lang.scala.VertxExecutionContext.$anonfun$execute$1(VertxExecutionContext.scala:37)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369)
at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:495)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.AssertionError: DE
Expected: false
got: true
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at com.campudus.tableaux.testtools.TestAssertionHelper.assertJSONEquals(TestAssertionHelper.scala:46)
at com.campudus.tableaux.testtools.TestAssertionHelper.assertJSONEquals$(TestAssertionHelper.scala:38)
at com.campudus.tableaux.api.auth.AuthorizationTest.assertJSONEquals(AuthorizationTest.scala:17)
at com.campudus.tableaux.api.auth.ColumnEnrichAuthTests.$anonfun$enrichColumn_editCellValueIsAllowedForCountryTagsATAndGB$5(AuthorizationTest.scala:452)
at com.campudus.tableaux.api.auth.ColumnEnrichAuthTests.$anonfun$enrichColumn_editCellValueIsAllowedForCountryTagsATAndGB$5$adapted(AuthorizationTest.scala:448)
at scala.util.Success.$anonfun$map$1(Try.scala:255)
at scala.util.Success.map(Try.scala:213)
at scala.concurrent.Future.$anonfun$map$1(Future.scala:292)
at scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:33)
... 13 more
Check failure on line 46 in src/test/scala/com/campudus/tableaux/testtools/TestAssertionHelper.scala
github-actions / Unit/Integration Tests
com.campudus.tableaux.api.auth.ColumnEnrichAuthTests ► enrichColumn_editCellValueIsAllowedForLangtagsDeAndEs
Failed test found in:
build/test-results/test/TEST-com.campudus.tableaux.api.auth.ColumnEnrichAuthTests.xml
Error:
java.util.concurrent.ExecutionException: Boxed Error
Raw output
java.util.concurrent.ExecutionException: Boxed Error
at scala.concurrent.impl.Promise$.resolver(Promise.scala:87)
at scala.concurrent.impl.Promise$.scala$concurrent$impl$Promise$$resolveTry(Promise.scala:79)
at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:284)
at scala.concurrent.Promise.complete(Promise.scala:53)
at scala.concurrent.Promise.complete$(Promise.scala:52)
at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:187)
at scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:33)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
at io.vertx.lang.scala.VertxExecutionContext.$anonfun$execute$1(VertxExecutionContext.scala:37)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369)
at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:495)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.AssertionError: de
Expected: false
got: true
; fr
Expected: false
got: true
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at com.campudus.tableaux.testtools.TestAssertionHelper.assertJSONEquals(TestAssertionHelper.scala:46)
at com.campudus.tableaux.testtools.TestAssertionHelper.assertJSONEquals$(TestAssertionHelper.scala:38)
at com.campudus.tableaux.api.auth.AuthorizationTest.assertJSONEquals(AuthorizationTest.scala:17)
at com.campudus.tableaux.api.auth.ColumnEnrichAuthTests.$anonfun$enrichColumn_editCellValueIsAllowedForLangtagsDeAndEs$7(AuthorizationTest.scala:389)
at com.campudus.tableaux.api.auth.ColumnEnrichAuthTests.$anonfun$enrichColumn_editCellValueIsAllowedForLangtagsDeAndEs$7$adapted(AuthorizationTest.scala:384)
at scala.util.Success.$anonfun$map$1(Try.scala:255)
at scala.util.Success.map(Try.scala:213)
at scala.concurrent.Future.$anonfun$map$1(Future.scala:292)
at scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:33)
... 13 more
Check failure on line 46 in src/test/scala/com/campudus/tableaux/testtools/TestAssertionHelper.scala
github-actions / Unit/Integration Tests
com.campudus.tableaux.api.auth.ColumnEnrichAuthTests ► enrichColumn_noActionIsAllowed
Failed test found in:
build/test-results/test/TEST-com.campudus.tableaux.api.auth.ColumnEnrichAuthTests.xml
Error:
java.util.concurrent.ExecutionException: Boxed Error
Raw output
java.util.concurrent.ExecutionException: Boxed Error
at scala.concurrent.impl.Promise$.resolver(Promise.scala:87)
at scala.concurrent.impl.Promise$.scala$concurrent$impl$Promise$$resolveTry(Promise.scala:79)
at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:284)
at scala.concurrent.Promise.complete(Promise.scala:53)
at scala.concurrent.Promise.complete$(Promise.scala:52)
at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:187)
at scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:33)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
at io.vertx.lang.scala.VertxExecutionContext.$anonfun$execute$1(VertxExecutionContext.scala:37)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369)
at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:495)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.AssertionError: delete
Expected: false
got: true
; editCellValue
Expected: false
got: true
; editDisplayProperty
Expected: false
got: true
; editStructureProperty
Expected: false
got: true
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at com.campudus.tableaux.testtools.TestAssertionHelper.assertJSONEquals(TestAssertionHelper.scala:46)
at com.campudus.tableaux.testtools.TestAssertionHelper.assertJSONEquals$(TestAssertionHelper.scala:38)
at com.campudus.tableaux.api.auth.AuthorizationTest.assertJSONEquals(AuthorizationTest.scala:17)
at com.campudus.tableaux.api.auth.ColumnEnrichAuthTests.$anonfun$enrichColumn_noActionIsAllowed$4(AuthorizationTest.scala:354)
at com.campudus.tableaux.api.auth.ColumnEnrichAuthTests.$anonfun$enrichColumn_noActionIsAllowed$4$adapted(AuthorizationTest.scala:344)
at scala.util.Success.$anonfun$map$1(Try.scala:255)
at scala.util.Success.map(Try.scala:213)
at scala.concurrent.Future.$anonfun$map$1(Future.scala:292)
at scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:33)
... 13 more
Check failure on line 46 in src/test/scala/com/campudus/tableaux/testtools/TestAssertionHelper.scala
github-actions / Unit/Integration Tests
com.campudus.tableaux.api.auth.ColumnEnrichAuthTests ► enrichColumnSeq_createIsNotAllowed
Failed test found in:
build/test-results/test/TEST-com.campudus.tableaux.api.auth.ColumnEnrichAuthTests.xml
Error:
java.util.concurrent.ExecutionException: Boxed Error
Raw output
java.util.concurrent.ExecutionException: Boxed Error
at scala.concurrent.impl.Promise$.resolver(Promise.scala:87)
at scala.concurrent.impl.Promise$.scala$concurrent$impl$Promise$$resolveTry(Promise.scala:79)
at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:284)
at scala.concurrent.Promise.complete(Promise.scala:53)
at scala.concurrent.Promise.complete$(Promise.scala:52)
at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:187)
at scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:33)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
at io.vertx.lang.scala.VertxExecutionContext.$anonfun$execute$1(VertxExecutionContext.scala:37)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369)
at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:495)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.AssertionError: create
Expected: false
got: true
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at com.campudus.tableaux.testtools.TestAssertionHelper.assertJSONEquals(TestAssertionHelper.scala:46)
at com.campudus.tableaux.testtools.TestAssertionHelper.assertJSONEquals$(TestAssertionHelper.scala:38)
at com.campudus.tableaux.api.auth.AuthorizationTest.assertJSONEquals(AuthorizationTest.scala:17)
at com.campudus.tableaux.api.auth.ColumnEnrichAuthTests.$anonfun$enrichColumnSeq_createIsNotAllowed$4(AuthorizationTest.scala:335)
at com.campudus.tableaux.api.auth.ColumnEnrichAuthTests.$anonfun$enrichColumnSeq_createIsNotAllowed$4$adapted(AuthorizationTest.scala:329)
at scala.util.Success.$anonfun$map$1(Try.scala:255)
at scala.util.Success.map(Try.scala:213)
at scala.concurrent.Future.$anonfun$map$1(Future.scala:292)
at scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:33)
... 13 more
github-actions / Unit/Integration Tests
com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization ► updateFile_notAuthorized_throwsException
Failed test found in:
build/test-results/test/TEST-com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization.xml
Error:
java.util.concurrent.ExecutionException: Boxed Error
Raw output
java.util.concurrent.ExecutionException: Boxed Error
at scala.concurrent.impl.Promise$.resolver(Promise.scala:87)
at scala.concurrent.impl.Promise$.scala$concurrent$impl$Promise$$resolveTry(Promise.scala:79)
at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:284)
at scala.concurrent.Promise.complete(Promise.scala:53)
at scala.concurrent.Promise.complete$(Promise.scala:52)
at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:187)
at scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:33)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
at io.vertx.lang.scala.VertxExecutionContext.$anonfun$execute$1(VertxExecutionContext.scala:37)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369)
at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:495)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.AssertionError: expected:<com.campudus.tableaux.UnauthorizedException: Action editMedia is not allowed. UserRoles are: List()> but was:<{"url":{"de":"/files/19cc356d-16a1-415b-91e0-353a5f27f0fb/de/file.pdf"},"uuid":"19cc356d-16a1-415b-91e0-353a5f27f0fb","folder":null,"folders":[],"title":{"de":"file"},"description":{},"internalName":{},"externalName":{"de":"file.pdf"},"mimeType":{},"createdAt":"2023-10-11T12:49:48.708Z","updatedAt":"2023-10-11T12:49:48.724Z"}>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:144)
at com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization.$anonfun$updateFile_notAuthorized_throwsException$3(MediaControllerAuthTest.scala:286)
at com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization.$anonfun$updateFile_notAuthorized_throwsException$3$adapted(MediaControllerAuthTest.scala:274)
at scala.util.Success.$anonfun$map$1(Try.scala:255)
at scala.util.Success.map(Try.scala:213)
at scala.concurrent.Future.$anonfun$map$1(Future.scala:292)
at scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:33)
... 13 more
github-actions / Unit/Integration Tests
com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization ► deleteFolder_notAuthorized_throwsException
Failed test found in:
build/test-results/test/TEST-com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization.xml
Error:
java.util.concurrent.ExecutionException: Boxed Error
Raw output
java.util.concurrent.ExecutionException: Boxed Error
at scala.concurrent.impl.Promise$.resolver(Promise.scala:87)
at scala.concurrent.impl.Promise$.scala$concurrent$impl$Promise$$resolveTry(Promise.scala:79)
at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:284)
at scala.concurrent.Promise.complete(Promise.scala:53)
at scala.concurrent.Promise.complete$(Promise.scala:52)
at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:187)
at scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:33)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
at io.vertx.lang.scala.VertxExecutionContext.$anonfun$execute$1(VertxExecutionContext.scala:37)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369)
at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:495)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.AssertionError: expected:<com.campudus.tableaux.UnauthorizedException: Action deleteMedia is not allowed. UserRoles are: List()> but was:<{"id":1,"name":"TestFolder","description":"Test Description","parent":null,"parents":[],"createdAt":"2023-10-11T12:49:48.899Z","updatedAt":null}>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:144)
at com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization.$anonfun$deleteFolder_notAuthorized_throwsException$3(MediaControllerAuthTest.scala:120)
at com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization.$anonfun$deleteFolder_notAuthorized_throwsException$3$adapted(MediaControllerAuthTest.scala:118)
at scala.util.Success.$anonfun$map$1(Try.scala:255)
at scala.util.Success.map(Try.scala:213)
at scala.concurrent.Future.$anonfun$map$1(Future.scala:292)
at scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:33)
... 13 more
github-actions / Unit/Integration Tests
com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization ► mergeFile_notAuthorized_throwsException
Failed test found in:
build/test-results/test/TEST-com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization.xml
Error:
java.util.concurrent.ExecutionException: Boxed Error
Raw output
java.util.concurrent.ExecutionException: Boxed Error
at scala.concurrent.impl.Promise$.resolver(Promise.scala:87)
at scala.concurrent.impl.Promise$.scala$concurrent$impl$Promise$$resolveTry(Promise.scala:79)
at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:284)
at scala.concurrent.Promise.complete(Promise.scala:53)
at scala.concurrent.Promise.complete$(Promise.scala:52)
at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:187)
at scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:33)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
at io.vertx.lang.scala.VertxExecutionContext.$anonfun$execute$1(VertxExecutionContext.scala:37)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369)
at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:495)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.AssertionError: expected:<com.campudus.tableaux.UnauthorizedException: Action editMedia is not allowed. UserRoles are: List()> but was:<com.campudus.tableaux.NotFoundInDatabaseException: error.database.notfound.select: Warning: SELECT 0 query failed>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:144)
at com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization.$anonfun$mergeFile_notAuthorized_throwsException$4(MediaControllerAuthTest.scala:375)
at com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization.$anonfun$mergeFile_notAuthorized_throwsException$4$adapted(MediaControllerAuthTest.scala:373)
at scala.util.Success.$anonfun$map$1(Try.scala:255)
at scala.util.Success.map(Try.scala:213)
at scala.concurrent.Future.$anonfun$map$1(Future.scala:292)
at scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:33)
... 13 more
github-actions / Unit/Integration Tests
com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization ► updateFolder_notAuthorized_throwsException
Failed test found in:
build/test-results/test/TEST-com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization.xml
Error:
java.util.concurrent.ExecutionException: Boxed Error
Raw output
java.util.concurrent.ExecutionException: Boxed Error
at scala.concurrent.impl.Promise$.resolver(Promise.scala:87)
at scala.concurrent.impl.Promise$.scala$concurrent$impl$Promise$$resolveTry(Promise.scala:79)
at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:284)
at scala.concurrent.Promise.complete(Promise.scala:53)
at scala.concurrent.Promise.complete$(Promise.scala:52)
at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:187)
at scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:33)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
at io.vertx.lang.scala.VertxExecutionContext.$anonfun$execute$1(VertxExecutionContext.scala:37)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369)
at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:495)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.AssertionError: expected:<com.campudus.tableaux.UnauthorizedException: Action editMedia is not allowed. UserRoles are: List()> but was:<{"id":1,"name":"newName","description":"newDescription","parent":null,"parents":[],"createdAt":"2023-10-11T12:49:50.446Z","updatedAt":"2023-10-11T12:49:50.455Z"}>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:144)
at com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization.$anonfun$updateFolder_notAuthorized_throwsException$3(MediaControllerAuthTest.scala:320)
at com.campudus.tableaux.api.auth.MediaControllerAuthTest_checkAuthorization.$anonfun$updateFolder_notAuthorized_throwsException$3$adapted(MediaControllerAuthTest.scala:318)
at scala.util.Success.$anonfun$map$1(Try.scala:255)
at scala.util.Success.map(Try.scala:213)
at scala.concurrent.Future.$anonfun$map$1(Future.scala:292)
at scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:33)
... 13 more
Check failure on line 46 in src/test/scala/com/campudus/tableaux/testtools/TestAssertionHelper.scala
github-actions / Unit/Integration Tests
com.campudus.tableaux.api.auth.MediaEnrichAuthTests ► enrich_editAndDeleteGranted_onlyEditAndDeleteAreAllowed
Failed test found in:
build/test-results/test/TEST-com.campudus.tableaux.api.auth.MediaEnrichAuthTests.xml
Error:
java.util.concurrent.ExecutionException: Boxed Error
Raw output
java.util.concurrent.ExecutionException: Boxed Error
at scala.concurrent.impl.Promise$.resolver(Promise.scala:87)
at scala.concurrent.impl.Promise$.scala$concurrent$impl$Promise$$resolveTry(Promise.scala:79)
at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:284)
at scala.concurrent.Promise.complete(Promise.scala:53)
at scala.concurrent.Promise.complete$(Promise.scala:52)
at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:187)
at scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:33)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
at io.vertx.lang.scala.VertxExecutionContext.$anonfun$execute$1(VertxExecutionContext.scala:37)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369)
at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:495)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.AssertionError: create
Expected: false
got: true
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at com.campudus.tableaux.testtools.TestAssertionHelper.assertJSONEquals(TestAssertionHelper.scala:46)
at com.campudus.tableaux.testtools.TestAssertionHelper.assertJSONEquals$(TestAssertionHelper.scala:38)
at com.campudus.tableaux.api.auth.AuthorizationTest.assertJSONEquals(AuthorizationTest.scala:17)
at com.campudus.tableaux.api.auth.MediaEnrichAuthTests.$anonfun$enrich_editAndDeleteGranted_onlyEditAndDeleteAreAllowed$3(AuthorizationTest.scala:491)
at com.campudus.tableaux.api.auth.MediaEnrichAuthTests.$anonfun$enrich_editAndDeleteGranted_onlyEditAndDeleteAreAllowed$3$adapted(AuthorizationTest.scala:482)
at scala.util.Success.$anonfun$map$1(Try.scala:255)
at scala.util.Success.map(Try.scala:213)
at scala.concurrent.Future.$anonfun$map$1(Future.scala:292)
at scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:33)
... 13 more
Check failure on line 46 in src/test/scala/com/campudus/tableaux/testtools/TestAssertionHelper.scala
github-actions / Unit/Integration Tests
com.campudus.tableaux.api.auth.MediaEnrichAuthTests ► enrich_editAndDeleteGranted_deleteDenied_onlyEditIsAllowed
Failed test found in:
build/test-results/test/TEST-com.campudus.tableaux.api.auth.MediaEnrichAuthTests.xml
Error:
java.util.concurrent.ExecutionException: Boxed Error
Raw output
java.util.concurrent.ExecutionException: Boxed Error
at scala.concurrent.impl.Promise$.resolver(Promise.scala:87)
at scala.concurrent.impl.Promise$.scala$concurrent$impl$Promise$$resolveTry(Promise.scala:79)
at scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:284)
at scala.concurrent.Promise.complete(Promise.scala:53)
at scala.concurrent.Promise.complete$(Promise.scala:52)
at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:187)
at scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:33)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
at io.vertx.lang.scala.VertxExecutionContext.$anonfun$execute$1(VertxExecutionContext.scala:37)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.scala.core.Context$$anon$2.handle(Context.scala:87)
at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369)
at io.vertx.core.impl.EventLoopContext.lambda$executeAsync$0(EventLoopContext.java:38)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:495)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.AssertionError: create
Expected: false
got: true
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:417)
at org.skyscreamer.jsonassert.JSONAssert.assertEquals(JSONAssert.java:394)
at com.campudus.tableaux.testtools.TestAssertionHelper.assertJSONEquals(TestAssertionHelper.scala:46)
at com.campudus.tableaux.testtools.TestAssertionHelper.assertJSONEquals$(TestAssertionHelper.scala:38)
at com.campudus.tableaux.api.auth.AuthorizationTest.assertJSONEquals(AuthorizationTest.scala:17)
at com.campudus.tableaux.api.auth.MediaEnrichAuthTests.$anonfun$enrich_editAndDeleteGranted_deleteDenied_onlyEditIsAllowed$3(AuthorizationTest.scala:514)
at com.campudus.tableaux.api.auth.MediaEnrichAuthTests.$anonfun$enrich_editAndDeleteGranted_deleteDenied_onlyEditIsAllowed$3$adapted(AuthorizationTest.scala:501)
at scala.util.Success.$anonfun$map$1(Try.scala:255)
at scala.util.Success.map(Try.scala:213)
at scala.concurrent.Future.$anonfun$map$1(Future.scala:292)
at scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:33)
... 13 more