From 9693daf7916ec3e9a3a5df032e7ff2e89c738efb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Mon, 24 Aug 2026 19:15:49 +0200 Subject: Test: include both base and ext ref in create-identity-done message --- test/invite.et | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'test/invite.et') diff --git a/test/invite.et b/test/invite.et index 52f2c8b..336a37b 100644 --- a/test/invite.et +++ b/test/invite.et @@ -9,14 +9,14 @@ test InviteContact: spawn as p2 send "create-identity Device1 Owner1" to p1 - expect /create-identity-done ref ($refpat)/ from p1 capture p1id + expect /create-identity-done ref ($refpat) extref ($refpat).*/ from p1 capture p1base, p1id send "identity-info $p1id" to p1 - expect /identity-info ref $p1id base ($refpat) owner ($refpat).*/ from p1 capture p1base, p1owner + expect /identity-info ref $p1id base $p1base owner ($refpat).*/ from p1 capture p1owner send "identity-info $p1owner" to p1 expect /identity-info ref $p1owner base ($refpat).*/ from p1 capture p1obase send "create-identity Device2 Owner2" to p2 - expect /create-identity-done ref ($refpat)/ from p2 capture p2id + expect /create-identity-done ref $refpat extref ($refpat).*/ from p2 capture p2id send "start-server services $services" to p1 send "start-server services $services" to p2 @@ -84,14 +84,14 @@ test InviteContactDelayed: spawn as p2 on s2 send "create-identity Device1 Owner1" to p1 - expect /create-identity-done ref ($refpat)/ from p1 capture p1id + expect /create-identity-done ref ($refpat) extref ($refpat).*/ from p1 capture p1base, p1id send "identity-info $p1id" to p1 - expect /identity-info ref $p1id base ($refpat) owner ($refpat).*/ from p1 capture p1base, p1owner + expect /identity-info ref $p1id base $p1base owner ($refpat).*/ from p1 capture p1owner send "identity-info $p1owner" to p1 expect /identity-info ref $p1owner base ($refpat).*/ from p1 capture p1obase send "create-identity Device2 Owner2" to p2 - expect /create-identity-done ref ($refpat)/ from p2 capture p2id + expect /create-identity-done ref $refpat extref ($refpat)/ from p2 capture p2id send "start-server services $services" to p1 send "start-server services $services" to p2 @@ -147,14 +147,14 @@ test InviteContactDiscovery: expect /create-identity-done ref $refpat.*/ from pd send "create-identity Device1 Owner1" to p1 - expect /create-identity-done ref ($refpat)/ from p1 capture p1id + expect /create-identity-done ref ($refpat) extref ($refpat)/ from p1 capture p1base, p1id send "identity-info $p1id" to p1 - expect /identity-info ref $p1id base ($refpat) owner ($refpat).*/ from p1 capture p1base, p1owner + expect /identity-info ref $p1id base $p1base owner ($refpat).*/ from p1 capture p1owner send "identity-info $p1owner" to p1 expect /identity-info ref $p1owner base ($refpat).*/ from p1 capture p1obase send "create-identity Device2 Owner2" to p2 - expect /create-identity-done ref ($refpat)/ from p2 capture p2id + expect /create-identity-done ref $refpat extref ($refpat)/ from p2 capture p2id send "start-server services discovery" to pd send "start-server services $services" to p1 -- cgit v1.2.3