mirror of
https://github.com/ceph/ceph
synced 2025-01-20 01:51:34 +00:00
unittest: fixup the mock method of open
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
This commit is contained in:
parent
b4fc1a871b
commit
0e3c02f535
@ -14,7 +14,7 @@ struct MockImageState {
|
||||
MOCK_CONST_METHOD0(is_refresh_required, bool());
|
||||
MOCK_METHOD1(refresh, void(Context*));
|
||||
|
||||
MOCK_METHOD1(open, void(Context*));
|
||||
MOCK_METHOD2(open, void(bool, Context*));
|
||||
|
||||
MOCK_METHOD0(close, int());
|
||||
MOCK_METHOD1(close, void(Context*));
|
||||
|
Loading…
Reference in New Issue
Block a user