We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ef0340 commit 3a16dadCopy full SHA for 3a16dad
tests/14account/02deactivate.pl
@@ -43,13 +43,15 @@ sub matrix_deactivate_account
43
44
my $body = decode_json $resp->content;
45
46
- assert_json_keys( $body, qw( error errcode params completed flows ));
+ assert_json_keys( $body, qw( error errcode params flows ));
47
48
my $errcode = $body->{errcode};
49
50
$errcode eq "M_FORBIDDEN" or
51
die "Expected errcode to be M_FORBIDDEN but was $errcode";
52
53
+ exists $body->{completed} and die "Got an unexpected a 'completed' key";
54
+
55
Future->done(1);
56
});
57
};
0 commit comments