Test whether incorrect passwords are rejected
[?]
Nov 6, 2013, 3:10 PM
MMHOJIGD2SP24TV2TYGNLW7OUQ3ISSKRVCSWNDMXEKUXIJH247TACDependencies
- [2]
ZIIXICG7Make the outputs' outpaths available via the Build JSON API - [3]
4VYSDP4IAdd eager fetching of relations and enable that for jobset->jobsetinputs - [4]
2DGIP6L4Cleanup build serialization - [5]
LZVO64YGMerge in the first bits of the API work - [6]
7ECJWNVXCleanup Project model - [7]
YI3BZG5NCleanup Jobset serialization - [8]
MQYHIUEECleanup eval serialization - [9]
SYLVCTT6Start api cleanup with the User model
Change contents
- replacement in tests/api-test.pl at line 3
use Test::Simple tests => 16;use Test::Simple tests => 17; - edit in tests/api-test.pl at line 20
my $result = request_json({ uri => "/login", method => "POST", data => { username => "root", password => "wrong" } });ok($result->code() == 403, "Incorrect password rejected.");