Scenario: APP_NAME reflected in the logScenario: APP_NAME reflected in the welcome messageScenario: APP_NAME used when trying to ignore a staff memberScenario: APP_NAME used in user listScenario: APP_NAME used in conference helpScenario: APP_NAME reflected in the main menuScenario: APP_NAME reflected in the account menuScenario: APP_NAME reflected in the character menuScenario: APP_NAME reflected in welcome back messageScenario: APP_NAME used in high score list
(In retrospect, I should probably go back and make the naming more consistent.)
Failure to ignore
After writing the support code for these, I still couldn’t get “APP_NAME used when trying to ignore
a staff member” to pass. Instead of the expected chastisement:
Oh, so it’s actually supposed to be ImpLevel. Messed around with SQL Server a bit to make sure
I’m being properly case-insensitive, but that doesn’t help much when the server code is grabbing
all fields and doing a string compare.
Scenario: APP_NAME used in high score list Given I use the "minimal" database as-isAnd I set "APP_NAME" in the config file to "Test HigSco"And the server executable is startedAnd I allow time for the server to complete startupWhen I log on using a standard accountAnd I enter the chatAnd I issue the high scores commandThen I saw a high score list with application name "Test HigSco"
Doesn’t seem like it should be a problem, right? But the command /scores all is just returning
usage info for the scores command. We know well enough to check the logs: