@@ -10,7 +10,7 @@ import (
1010
1111func TestServerUrlTheProductionAPIServer (t * testing.T ) {
1212 t .Run ("when no values are provided, it does not error" , func (t * testing.T ) {
13- serverUrl , err := ServerUrlTheProductionAPIServer ("" , "" , "" , "" )
13+ serverUrl , err := NewServerUrlTheProductionAPIServer ("" , "" , "" , "" )
1414 require .NoError (t , err )
1515
1616 assert .Equal (t , "https://.gigantic-server.com:/" , serverUrl )
@@ -23,7 +23,7 @@ func TestServerUrlTheProductionAPIServer(t *testing.T) {
2323 // TODO:when we validate enums, this will need more testing
2424 t .Run ("when values that are not part of the enum are provided, it does not error" , func (t * testing.T ) {
2525 invalidPort := ServerUrlTheProductionAPIServerPortVariable ("12345" )
26- serverUrl , err := ServerUrlTheProductionAPIServer (
26+ serverUrl , err := NewServerUrlTheProductionAPIServer (
2727 ServerUrlTheProductionAPIServerBasePathVariableDefault ,
2828 ServerUrlTheProductionAPIServerNoDefaultVariable ("" ),
2929 invalidPort ,
@@ -35,7 +35,7 @@ func TestServerUrlTheProductionAPIServer(t *testing.T) {
3535 })
3636
3737 t .Run ("when default values are provided, it does not error" , func (t * testing.T ) {
38- serverUrl , err := ServerUrlTheProductionAPIServer (
38+ serverUrl , err := NewServerUrlTheProductionAPIServer (
3939 ServerUrlTheProductionAPIServerBasePathVariableDefault ,
4040 ServerUrlTheProductionAPIServerNoDefaultVariable ("" ),
4141 ServerUrlTheProductionAPIServerPortVariableDefault ,
0 commit comments