Fix test cases
This commit is contained in:
parent
9ebd3d754c
commit
5d77a82c7f
@ -89,7 +89,7 @@ TEST_F(CliTest_IntegrityCheck, givenIncorrectFilesystemId_thenFails) {
|
||||
modifyFilesystemId();
|
||||
EXPECT_RUN_ERROR(
|
||||
args,
|
||||
"Error: The filesystem id in the config file is different to the last time we loaded a filesystem from this basedir.",
|
||||
"Error 20: The filesystem id in the config file is different to the last time we loaded a filesystem from this basedir.",
|
||||
ErrorCode::FilesystemIdChanged
|
||||
);
|
||||
}
|
||||
@ -101,7 +101,7 @@ TEST_F(CliTest_IntegrityCheck, givenIncorrectFilesystemKey_thenFails) {
|
||||
modifyFilesystemKey();
|
||||
EXPECT_RUN_ERROR(
|
||||
args,
|
||||
"Error: The filesystem encryption key differs from the last time we loaded this filesystem. Did an attacker replace the file system?",
|
||||
"Error 21: The filesystem encryption key differs from the last time we loaded this filesystem. Did an attacker replace the file system?",
|
||||
ErrorCode::EncryptionKeyChanged
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user