Closed cjstehno closed 1 year ago
Currently, there are two methods for retrieving the server URL, one for http and one for https. Make a unified one that takes a boolean, e.g.
server.getUrl(true); // https url server.getUrl(false); // http url
This will help with test cases where you use a boolean to test both http and https versions as it aligns with the secure(boolean) and https(boolean) configuration methods.
secure(boolean)
https(boolean)
Currently, there are two methods for retrieving the server URL, one for http and one for https. Make a unified one that takes a boolean, e.g.
This will help with test cases where you use a boolean to test both http and https versions as it aligns with the
secure(boolean)
andhttps(boolean)
configuration methods.