File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1367,8 +1367,8 @@ def test_user_can_see_own_rules(self):
13671367 # Expected patterns based on BaseConfigurationRuleHandler
13681368 expected_patterns = [
13691369 f"{ settings .GEOSERVER_WEB_UI_LOCATION } /.*" ,
1370- f"{ settings .HOSTNAME } /gs.*" ,
1371- f"{ settings .HOSTNAME } /api/v2.*" ,
1370+ f"{ settings .SITEURL } /gs.*" ,
1371+ f"{ settings .SITEURL } /api/v2.*" ,
13721372 ]
13731373
13741374 # Collect actual patterns and verify structure
@@ -1378,7 +1378,7 @@ def test_user_can_see_own_rules(self):
13781378 actual_patterns .append (rule ["urlPattern" ])
13791379
13801380 # Check token in params or headers based on URL pattern
1381- if rule ["urlPattern" ] == f"{ settings .HOSTNAME } /api/v2.*" :
1381+ if rule ["urlPattern" ] == f"{ settings .SITEURL } /api/v2.*" :
13821382 self .assertIn ("headers" , rule )
13831383 self .assertIn ("Authorization" , rule ["headers" ])
13841384 self .assertEqual (rule ["headers" ]["Authorization" ], f"Bearer { self .token1 .token } " )
You can’t perform that action at this time.
0 commit comments