DeleteAsset
Tests
| Test |
Duration |
Result |
| globalAdmin_canDeleteArbitraryAsset() |
1.510s |
passed |
| normalUser_canNotDeleteUnrelatedAsset() |
1.613s |
passed |
Standard output
ContextBasedTestWithCleanup.retrieveInitialTestData
normalUser_canNotDeleteUnrelatedAsset(): TOTAL OBJECT COUNT (initial): 210 -> 210
toCleanup(class net.hostsharing.hsadminng.hs.booking.item.HsBookingItemRealEntity, da683299-7d45-4306-9044-fdfce5a85cbf
toCleanup(class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRealEntity, 58e554ff-16bb-4b0e-b7e8-a1ffb4cdde66
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:30:12 GMT
Keep-Alive: timeout=60
Connection: keep-alive
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
DELETING temporary HsHostingAssetRealEntity#58e554ff-16bb-4b0e-b7e8-a1ffb4cdde66 deleted 1 rows
DELETING temporary HsBookingItemRealEntity#da683299-7d45-4306-9044-fdfce5a85cbf 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, 3ae18738-e6d3-4796-9856-78edf39a3283
toCleanup(class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetRealEntity, 94b65a5d-9c07-4c5c-983d-c76b6d97deb9
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
DELETING temporary HsHostingAssetRealEntity#94b65a5d-9c07-4c5c-983d-c76b6d97deb9 deleted 0 rows
DELETING temporary HsBookingItemRealEntity#3ae18738-e6d3-4796-9856-78edf39a3283 deleted 1 rows
globalAdmin_canDeleteArbitraryAsset(): TOTAL OBJECT COUNT (after): 210 -> 210