DeleteAsset

2

tests

0

failures

0

ignored

2.789s

duration

100%

successful

Tests

Test Duration Result
globalAdmin_canDeleteArbitraryAsset() 1.429s passed
normalUser_canNotDeleteUnrelatedAsset() 1.360s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
normalUser_canNotDeleteUnrelatedAsset(): TOTAL OBJECT COUNT (initial): 210 -> 210
toCleanup(class net.hostsharing.hsadminng.hs.booking.item.HsBookingItemRealEntity, 966a0ae9-d9af-421f-a46a-7744013bc434
toCleanup(class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRealEntity, 28b97778-b4e7-4637-a70f-cd57af39be29
HTTP/1.1 404 
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 0
Date: Mon, 10 Aug 2026 15:04:19 GMT
Keep-Alive: timeout=60
Connection: keep-alive
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
DELETING temporary HsHostingAssetRealEntity#28b97778-b4e7-4637-a70f-cd57af39be29 deleted 1 rows
DELETING temporary HsBookingItemRealEntity#966a0ae9-d9af-421f-a46a-7744013bc434 deleted 1 rows
normalUser_canNotDeleteUnrelatedAsset(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canDeleteArbitraryAsset(): TOTAL OBJECT COUNT (initial): 210 -> 210
toCleanup(class net.hostsharing.hsadminng.hs.booking.item.HsBookingItemRealEntity, 1d167c06-28cf-4b4c-9c27-e8712f038e9c
toCleanup(class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRealEntity, 9eb025ed-0859-409c-a7f4-2f4705427eca

ContextBasedTestWithCleanup.cleanupAndCheckCleanup
DELETING temporary HsHostingAssetRealEntity#9eb025ed-0859-409c-a7f4-2f4705427eca deleted 0 rows
DELETING temporary HsBookingItemRealEntity#1d167c06-28cf-4b4c-9c27-e8712f038e9c deleted 1 rows
globalAdmin_canDeleteArbitraryAsset(): TOTAL OBJECT COUNT (after): 210 -> 210