aboutsummaryrefslogtreecommitdiff
path: root/plugins/signal-protocol/tests
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/signal-protocol/tests')
-rw-r--r--plugins/signal-protocol/tests/session_builder.vala8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/signal-protocol/tests/session_builder.vala b/plugins/signal-protocol/tests/session_builder.vala
index 4cc7a581..246cbd1c 100644
--- a/plugins/signal-protocol/tests/session_builder.vala
+++ b/plugins/signal-protocol/tests/session_builder.vala
@@ -18,12 +18,8 @@ class SessionBuilderTest : Gee.TestCase {
public override void set_up() {
try {
global_context = new Context();
- alice_address = new Address();
- alice_address.name = "+14151111111";
- alice_address.device_id = 1;
- bob_address = new Address();
- bob_address.name = "+14152222222";
- bob_address.device_id = 1;
+ alice_address = new Address("+14151111111", 1);
+ bob_address = new Address("+14152222222", 1);
} catch (Error e) {
fail_if_reached(@"Unexpected error: $(e.message)");
}