mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-28 18:10:38 +00:00
Extend tests
This commit is contained in:
parent
1d87befdab
commit
ab40344567
2 changed files with 9 additions and 0 deletions
|
@ -2142,6 +2142,7 @@
|
|||
{"name":"needsReceipt_", "allowUnsafeAccess":true},
|
||||
{"name":"senderDevice_", "allowUnsafeAccess":true},
|
||||
{"name":"serverDeliveredTimestamp_", "allowUnsafeAccess":true},
|
||||
{"name":"serverGuid_", "allowUnsafeAccess":true},
|
||||
{"name":"serverReceivedTimestamp_", "allowUnsafeAccess":true},
|
||||
{"name":"timestamp_", "allowUnsafeAccess":true}
|
||||
]
|
||||
|
|
|
@ -136,6 +136,14 @@ run_main -u "$NUMBER_1" listDevices
|
|||
run_linked -u "$NUMBER_1" sendSyncRequest
|
||||
run_main -u "$NUMBER_1" sendContacts
|
||||
|
||||
for OUTPUT in "plain-text" "json"; do
|
||||
run_main -u "$NUMBER_1" send "$NUMBER_2" -m hi
|
||||
run_main -u "$NUMBER_2" send "$NUMBER_1" -m hi
|
||||
run_main -u "$NUMBER_2" --output="$OUTPUT" receive
|
||||
run_main -u "$NUMBER_1" --output="$OUTPUT" receive
|
||||
run_linked -u "$NUMBER_1" --output="$OUTPUT" receive
|
||||
done
|
||||
|
||||
run_main -u "$NUMBER_1" removeDevice -d 2
|
||||
|
||||
## DBus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue