From 4a75413178df2424ad92ec7b89e0c8fe4d1d3511 Mon Sep 17 00:00:00 2001 From: Gabriel Omar Cotelli Date: Thu, 29 Feb 2024 14:54:29 -0300 Subject: [PATCH] Improve tests portability --- .../StargateConsulExampleTest.class.st | 28 +------------------ 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/source/Stargate-Consul-Examples-Tests/StargateConsulExampleTest.class.st b/source/Stargate-Consul-Examples-Tests/StargateConsulExampleTest.class.st index 350741c..38ade5b 100644 --- a/source/Stargate-Consul-Examples-Tests/StargateConsulExampleTest.class.st +++ b/source/Stargate-Consul-Examples-Tests/StargateConsulExampleTest.class.st @@ -70,33 +70,7 @@ StargateConsulExampleTest >> testPrintHelpOn [ help := String streamContents: [ :stream | StargateConsulExample printHelpOn: stream ]. - self assert: help equals: ( 'NAME - stargate-consul-example [<1s>] - I provide a RESTful API over HTTP -SYNOPSYS - stargate-consul-example --stargate.public-url=% --stargate.port=% --stargate.operations-secret=% --stargate.consul-agent-location=% [--stargate.scheme=%] -PARAMETERS - --stargate.public-url=% - Public URL where the API is deployed. Used to create hypermedia links. - --stargate.port=% - Listening port. - --stargate.operations-secret=% - Secret key for checking JWT signatures. - --stargate.consul-agent-location=% - Location of the Consul Agent. Leave empty to disable the plugin. - --stargate.scheme=% - Transport scheme. It''s used to configure Consul HTTP checks. Defaults to http. -ENVIRONMENT - STARGATE__PUBLIC_URL - Public URL where the API is deployed. Used to create hypermedia links. - STARGATE__PORT - Listening port. - STARGATE__OPERATIONS_SECRET - Secret key for checking JWT signatures. - STARGATE__CONSUL_AGENT_LOCATION - Location of the Consul Agent. Leave empty to disable the plugin. - STARGATE__SCHEME - Transport scheme. It''s used to configure Consul HTTP checks. Defaults to http. -' expandMacrosWith: StargateConsulExample version ) + self assert: help equals: ( 'NAMEstargate-consul-example [<1s>] - I provide a RESTful API over HTTPSYNOPSYSstargate-consul-example --stargate.public-url=% --stargate.port=% --stargate.operations-secret=% --stargate.consul-agent-location=% [--stargate.scheme=%]PARAMETERS--stargate.public-url=%Public URL where the API is deployed. Used to create hypermedia links.--stargate.port=%Listening port.--stargate.operations-secret=%Secret key for checking JWT signatures.--stargate.consul-agent-location=%Location of the Consul Agent. Leave empty to disable the plugin.--stargate.scheme=%Transport scheme. It''s used to configure Consul HTTP checks. Defaults to http.ENVIRONMENTSTARGATE__PUBLIC_URLPublic URL where the API is deployed. Used to create hypermedia links.STARGATE__PORTListening port.STARGATE__OPERATIONS_SECRETSecret key for checking JWT signatures.STARGATE__CONSUL_AGENT_LOCATIONLocation of the Consul Agent. Leave empty to disable the plugin.STARGATE__SCHEMETransport scheme. It''s used to configure Consul HTTP checks. Defaults to http.' expandMacrosWith: StargateConsulExample version ) ] { #category : #tests }