Skip to content
Snippets Groups Projects
Commit 3152c635 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

unittest: fix build

Change-Id: I4bfaf16797afefba0e33b1f58bfc5f56a6a0ef63
parent 33b0634c
No related branches found
No related tags found
No related merge requests found
...@@ -256,7 +256,7 @@ ConversationRepositoryTest::testCloneViaChannelSocket() ...@@ -256,7 +256,7 @@ ConversationRepositoryTest::testCloneViaChannelSocket()
}); });
aliceAccount->connectionManager().onChannelRequest( aliceAccount->connectionManager().onChannelRequest(
[&successfullyReceive](const DeviceId&, const std::string& name) { return true; }); [&successfullyReceive](const DeviceId&, const std::string&) { return true; });
bobAccount->connectionManager().onConnectionReady( bobAccount->connectionManager().onConnectionReady(
[&](const DeviceId&, const std::string& name, std::shared_ptr<ChannelSocket> socket) { [&](const DeviceId&, const std::string& name, std::shared_ptr<ChannelSocket> socket) {
...@@ -605,7 +605,7 @@ ConversationRepositoryTest::addCommit(git_repository* repo, ...@@ -605,7 +605,7 @@ ConversationRepositoryTest::addCommit(git_repository* repo,
// git commit -S // git commit -S
auto to_sign_vec = std::vector<uint8_t>(to_sign.ptr, to_sign.ptr + to_sign.size); auto to_sign_vec = std::vector<uint8_t>(to_sign.ptr, to_sign.ptr + to_sign.size);
auto signed_buf = account->identity().first->sign(to_sign_vec); auto signed_buf = account->identity().first->sign(to_sign_vec);
std::string signed_str = base64::encode(signed_buf.begin(), signed_buf.end()); std::string signed_str = base64::encode(signed_buf);
if (git_commit_create_with_signature(&commit_id, if (git_commit_create_with_signature(&commit_id,
repo, repo,
to_sign.ptr, to_sign.ptr,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment