Fixed errors and tests and updated DB

This commit is contained in:
Finn 2017-08-14 15:04:24 +01:00
parent b44a256434
commit 65d5bab444
11 changed files with 1859 additions and 3 deletions

View file

@ -333,10 +333,10 @@ $t->post_ok('/api/upload' => form => $upload )
->content_like(qr/organisation_id does not exist in the database/i);
print "test 21 - purchase_time is missing\n";
is $schema->resultset('Transaction')->count, 0, "no transactions";
is $schema->resultset('PendingTransaction')->count, 1, "1 pending transactions";
$json = {
transaction_value => 10,
transaction_type => 1,
transaction_type => 2,
organisation_id => $org_id_shinra,
session_key => $session_key,
};