MMHOJIGD2SP24TV2TYGNLW7OUQ3ISSKRVCSWNDMXEKUXIJH247TAC
ZIIXICG7TBYQAGTNXGZXLLPVRLZ5VU3RCDDUAD3D7PHZZON4U7MQC
LZVO64YG43JD7YMZSCTZNOBS5ROZA4FMPKJW2YOMHX2V5PTGBVWQC
use Test::Simple tests => 16;
use Test::Simple tests => 17;
my $result = request_json({ uri => "/login", method => "POST", data => { username => "root", password => "wrong" } });ok($result->code() == 403, "Incorrect password rejected.");
my $result = request_json({ uri => "/login", method => "POST", data => { username => "root", password => "wrong" } });
ok($result->code() == 403, "Incorrect password rejected.");