DeleteAsset

2

tests

0

failures

0

ignored

2.798s

duration

100%

successful

Tests

Test Duration Result
globalAdmin_canDeleteArbitraryAsset() 1.402s passed
normalUser_canNotDeleteUnrelatedAsset() 1.396s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
normalUser_canNotDeleteUnrelatedAsset(): TOTAL OBJECT COUNT (initial): 210 -> 210
toCleanup(class net.hostsharing.hsadminng.hs.booking.item.HsBookingItemRealEntity, b4b9d735-dcab-4f4f-b729-25cc1f142db6
toCleanup(class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRealEntity, 6cf4f8d3-efaa-4d23-aa1d-2051b4fe9c90
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 16:38:10 GMT
Keep-Alive: timeout=60
Connection: keep-alive
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
DELETING temporary HsHostingAssetRealEntity#6cf4f8d3-efaa-4d23-aa1d-2051b4fe9c90 deleted 1 rows
DELETING temporary HsBookingItemRealEntity#b4b9d735-dcab-4f4f-b729-25cc1f142db6 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, cb19941b-e81c-425f-8b8c-abc3b230e06d
toCleanup(class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRealEntity, b5e17a58-5cdc-41d9-8e06-227cf478bc5d

ContextBasedTestWithCleanup.cleanupAndCheckCleanup
DELETING temporary HsHostingAssetRealEntity#b5e17a58-5cdc-41d9-8e06-227cf478bc5d deleted 0 rows
DELETING temporary HsBookingItemRealEntity#cb19941b-e81c-425f-8b8c-abc3b230e06d deleted 1 rows
globalAdmin_canDeleteArbitraryAsset(): TOTAL OBJECT COUNT (after): 210 -> 210