Skip to content

Commit

Permalink
test: make the test more specific
Browse files Browse the repository at this point in the history
This is a follow up of feb6723 for the fix in 8af0392

Signed-off-by: Dennis Francis <[email protected]>
Change-Id: I6a1c754193cce4f7d11d17b9bbe1986a2b46ad86
  • Loading branch information
dennisfrancis committed Mar 17, 2022
1 parent f12a6dd commit 3418f51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/UnitPasswordProtected.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ UnitBase::TestResult UnitPasswordProtected::testPasswordProtectedDocumentWithout
LOK_ASSERT_EQUAL(std::string("passwordrequired:to-view"), errorKind);

response = helpers::getResponseString(socket, "error:", testname);
LOK_ASSERT_MESSAGE("Unexpected second error message", !response.size());
LOK_ASSERT_MESSAGE("Unexpected faileddocloading load error message",
response != "error: cmd=load kind=faileddocloading");
}
catch (const Poco::Exception& exc)
{
Expand Down

0 comments on commit 3418f51

Please sign in to comment.