wsd: test: add IsExitSave check in UnitWOPIAsyncUpload_Close
Change-Id: I80936316fb172e5a4ef1811a66d061e63ea0bb27 Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
This commit is contained in:
parent
6b8eba8949
commit
d8505de24c
1 changed files with 3 additions and 0 deletions
|
@ -52,6 +52,9 @@ public:
|
|||
// We requested the save.
|
||||
LOK_ASSERT_EQUAL(std::string("false"), request.get("X-COOL-WOPI-IsAutosave"));
|
||||
|
||||
// Certainly not exiting yet.
|
||||
LOK_ASSERT_EQUAL(std::string("false"), request.get("X-COOL-WOPI-IsExitSave"));
|
||||
|
||||
// Fail with error.
|
||||
LOG_TST("assertPutFileRequest: returning 404 to simulate PutFile failure");
|
||||
return Util::make_unique<http::Response>(http::StatusLine(404));
|
||||
|
|
Loading…
Reference in a new issue