From d40998c4affcb76acea42b25455deb087f544dfc Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 20 Jul 2015 22:35:14 +0100 Subject: Added reciept send functional test --- tests/functionaltests/test_receipts.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'tests/functionaltests/test_receipts.c') diff --git a/tests/functionaltests/test_receipts.c b/tests/functionaltests/test_receipts.c index 0360fda8..357663f3 100644 --- a/tests/functionaltests/test_receipts.c +++ b/tests/functionaltests/test_receipts.c @@ -27,3 +27,24 @@ send_receipt_request(void **state) "" )); } + +void +send_receipt_on_request(void **state) +{ + prof_input("/receipts send on"); + + prof_connect(); + + stbbr_send( + "" + "Wants a receipt" + "" + "" + ); + + assert_true(stbbr_received( + "" + "" + "" + )); +} -- cgit 1.4.1-2-gfad0