HsHostingAssetControllerRestTest
|
100%
successful |
Tests
| Test | Method name | Duration | Result |
|---|---|---|---|
| shouldDeleteHostingAsset() | shouldDeleteHostingAsset() | 0.007s | passed |
| [10] testCase=EMAIL_ADDRESS | shouldGetListOfHostingAssets(ListTestCases)[10] | 0.008s | passed |
| [11] testCase=MARIADB_INSTANCE | shouldGetListOfHostingAssets(ListTestCases)[11] | 0.008s | passed |
| [12] testCase=MARIADB_USER | shouldGetListOfHostingAssets(ListTestCases)[12] | 0.007s | passed |
| [13] testCase=MARIADB_DATABASE | shouldGetListOfHostingAssets(ListTestCases)[13] | 0.008s | passed |
| [14] testCase=PGSQL_INSTANCE | shouldGetListOfHostingAssets(ListTestCases)[14] | 0.007s | passed |
| [15] testCase=PGSQL_USER | shouldGetListOfHostingAssets(ListTestCases)[15] | 0.008s | passed |
| [16] testCase=PGSQL_DATABASE | shouldGetListOfHostingAssets(ListTestCases)[16] | 0.008s | passed |
| [17] testCase=IPV4_NUMBER | shouldGetListOfHostingAssets(ListTestCases)[17] | 0.007s | passed |
| [18] testCase=IPV6_NUMBER | shouldGetListOfHostingAssets(ListTestCases)[18] | 0.008s | passed |
| [1] testCase=CLOUD_SERVER | shouldGetListOfHostingAssets(ListTestCases)[1] | 0.018s | passed |
| [2] testCase=MANAGED_SERVER | shouldGetListOfHostingAssets(ListTestCases)[2] | 0.021s | passed |
| [3] testCase=UNIX_USER | shouldGetListOfHostingAssets(ListTestCases)[3] | 0.009s | passed |
| [4] testCase=EMAIL_ALIAS | shouldGetListOfHostingAssets(ListTestCases)[4] | 0.010s | passed |
| [5] testCase=DOMAIN_SETUP | shouldGetListOfHostingAssets(ListTestCases)[5] | 0.009s | passed |
| [6] testCase=DOMAIN_DNS_SETUP | shouldGetListOfHostingAssets(ListTestCases)[6] | 0.010s | passed |
| [7] testCase=DOMAIN_HTTP_SETUP | shouldGetListOfHostingAssets(ListTestCases)[7] | 0.010s | passed |
| [8] testCase=DOMAIN_SMTP_SETUP | shouldGetListOfHostingAssets(ListTestCases)[8] | 0.010s | passed |
| [9] testCase=DOMAIN_MBOX_SETUP | shouldGetListOfHostingAssets(ListTestCases)[9] | 0.010s | passed |
| shouldGetSingleHostingAssetIfFound() | shouldGetSingleHostingAssetIfFound() | 0.031s | passed |
| shouldPatchHostingAsset() | shouldPatchHostingAsset() | 0.030s | passed |
| shouldPostNewHostingAsset() | shouldPostNewHostingAsset() | 0.017s | passed |
| shouldRejectPostIfBookingItemIsMissing() | shouldRejectPostIfBookingItemIsMissing() | 0.010s | passed |
| shouldReturnNotFoundIfDeletedHostingAssetIsMissing() | shouldReturnNotFoundIfDeletedHostingAssetIsMissing() | 0.007s | passed |
| shouldReturnNotFoundIfSingleHostingAssetIsMissing() | shouldReturnNotFoundIfSingleHostingAssetIsMissing() | 0.016s | passed |
Standard output
2026-08-10T16:36:05.380Z INFO 235 --- [ Test worker] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetControllerRestTest]: HsHostingAssetControllerRestTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-08-10T16:36:05.408Z INFO 235 --- [ Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration net.hostsharing.hsadminng.HsadminNgApplication for test class net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetControllerRestTest
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.5.5)
2026-08-10T16:36:05.434Z INFO 235 --- [ Test worker] h.h.h.a.HsHostingAssetControllerRestTest : Starting HsHostingAssetControllerRestTest using Java 21.0.11 with PID 235 (started by root in /home/tallyman/hs.hsadmin.ng/.git/gittally/worktrees/mihoe_ci-build-performance-improvements-8da83bafd50c)
2026-08-10T16:36:05.435Z INFO 235 --- [ Test worker] h.h.h.a.HsHostingAssetControllerRestTest : The following 2 profiles are active: "fake-jwt", "test"
2026-08-10T16:36:05.829Z INFO 235 --- [ Test worker] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet ''
2026-08-10T16:36:05.829Z INFO 235 --- [ Test worker] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet ''
2026-08-10T16:36:05.830Z INFO 235 --- [ Test worker] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 1 ms
2026-08-10T16:36:05.835Z INFO 235 --- [ Test worker] h.h.h.a.HsHostingAssetControllerRestTest : Started HsHostingAssetControllerRestTest in 0.424 seconds (process running for 18.702)
MockHttpServletRequest:
HTTP Method = PATCH
Request URI = /api/hs/hosting/assets/8b8bdcf2-1150-42d6-9bff-af37ca9a3ce3
Parameters = {}
Headers = [Content-Type:"application/json;charset=UTF-8", Authorization:"Bearer eyJraWQiOiJ0ZXN0LWtleSIsImFsZyI6IlJTMjU2In0.eyJpc3MiOiJodHRwOi8vdGVzdC1pc3N1ZXIiLCJzdWIiOiJoc2gtYWxleF9zdXBlcnVzZXIiLCJhdWQiOiJhcGkiLCJncm91cHMiOltdLCJleHAiOjE3ODYzODMzNjUsImp0aSI6IjYzZjFiMWQzLWFhNGEtNDI5Ny05YzIxLTVhNDJmM2U2MjgwNCJ9.k44yKSQ7-CwzRf4y2ELUOTfCJe4cKZfj_931h8PysvEvyJQuuiE6GCKLRZUesJDCGnYirCE-csv2CQ9nbV3zOb0Q4EJdvXg_sXPSrMFLf2xgHROKmCWSnN7QnkLQyxb34cjwI3_CL0Fn5_CuhX5mntXvlg4IbhBKUXInf6f8Kluk_NjA3Afa7HL94RVyV0OIjH4ELCNgXboN_5Ex3z5wl8vAxQlgVztHgpw9YdzsHkP9eTQtaJb5ynCYHrPG66PfZ9MYrm5twzg0ROaJqfDKd1xhLJUg5D0cDtdISsAji3VKFbTSvdB6EHlMLV6s-W-hVFAw6jO4pGApqKHcJILM4w", Accept:"application/json", Content-Length:"311"]
Body = {
"caption": "some updated fake Domain-HTTP-Setup",
"alarmContact.uuid": null,
"config": {
"autoconfig": true,
"multiviews": true,
"passenger": false,
"fcgi-php-bin": null,
"passenger-nodejs": "/usr/bin/node-js8",
"subdomains": ["www","test"]
}
}
Session Attrs = {}
Handler:
Type = net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetController
Method = net.hostsharing.hsadminng.hs.hosting.asset.HsHostingAssetController#patchHostingAsset(String, UUID, HsHostingAssetPatchResource)
Async:
Async started = false
Async result = null
Resolved Exception:
Type = null
ModelAndView:
View name = null
View = null
Model = null
FlashMap:
Attributes = null
MockHttpServletResponse:
Status = 200
Error message = null
Headers = [Vary:"Origin", "Access-Control-Request-Method", "Access-Control-Request-Headers", Content-Type:"application/json", 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 type = application/json
Body = {"uuid":"fdfe3386-3005-4ee0-b86e-5b747edfccab","type":"DOMAIN_HTTP_SETUP","identifier":"example.org|HTTP","caption":"some updated fake Domain-HTTP-Setup","alarmContact":null,"config":{"htdocsfallback":false,"cgi":false,"fastcgi":false,"passenger-errorpage":true,"autoconfig":true,"passenger-nodejs":"/usr/bin/node-js8","includes":false,"multiviews":true,"subdomains":["www","test"],"passenger-ruby":"/usr/bin/ruby5","indexes":false,"passenger":false,"greylisting":false,"passenger-python":"/usr/bin/python6","letsencrypt":false}}
Forwarded URL = null
Redirected URL = null
Cookies = []