AccountIT#putStatus: Unset status at test end
This test modifies the status of the admin account but other tests may expect that the status was not set. It currently only works because the test also sets the status in the cached TestAccount instance. This will stop working when we reset account branches after each test because then the status in the cached TestAccount will not match with the status in NoteDb after the reset. Instead unset the status at the test end. This also verifies that unsetting the status works. Change-Id: I44e77fc300d5c1c7fee8ad231aeec109455e2f64 Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
@@ -47,7 +47,6 @@ public class TestAccount {
|
||||
public final String fullName;
|
||||
public final KeyPair sshKey;
|
||||
public final String httpPassword;
|
||||
public String status;
|
||||
|
||||
TestAccount(
|
||||
Account.Id id,
|
||||
|
||||
Reference in New Issue
Block a user