good morning! can someone please confirm whether t...
# general
b
good morning! can someone please confirm whether the States are case sensitive or not? My pact file contains the following pieces of info:
Copy code
"providerStates" -> "name": "My services are up"
"interactions" -> "description": "Get Customer information Request",
But in the PactBroker the following string is displayed:
Copy code
Get Customer information Request given my services are up
m
Hmm, good question. I’m pretty sure they are case sensitive.
@Beth (pactflow.io/Pact Broker/pact-ruby) @uglyog?
u
Yes, case sensitive
šŸ‘ 1
m
thx
b
@uglyog if it is case sensitive, then it means there's a bug in the UI (as the state is displayed with lower case only)?
m
I think so, because people are likely to copy/paste it
Mind raising a bug? Is this in Pactflow or the OSS Pact Broker?
šŸ‘ 1
b
Pact Broker
šŸ‘ 1
b
The pact broker un-capitalises the state so the sentence makes sense.
šŸ‘ 1
It is deliberate
m
I guess the verification test output should have the correct case, so developers could copy correctly from there