diff options
author | James Booth <boothj5@gmail.com> | 2014-12-23 19:51:12 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-12-23 19:51:12 +0000 |
commit | 69fe6c4d21d885f1397172605e8babe639a945c5 (patch) | |
tree | 501a964b685b0e5904a9ad396aff45a024477854 /tests/testsuite.c | |
parent | 5be9ac3243c79eb552d628d2b8642290eed564bd (diff) | |
download | profani-tty-69fe6c4d21d885f1397172605e8babe639a945c5.tar.gz |
cmd_account_shows_account_when_connected_and_no_args
Diffstat (limited to 'tests/testsuite.c')
-rw-r--r-- | tests/testsuite.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/testsuite.c b/tests/testsuite.c index a9904301..56de0109 100644 --- a/tests/testsuite.c +++ b/tests/testsuite.c @@ -240,10 +240,13 @@ int main(int argc, char* argv[]) { unit_test(cmd_rooms_arg_used_when_passed), */ unit_test_setup_teardown(cmd_account_shows_usage_when_not_connected_and_no_args, - reset_mocks, - reset_mocks), + pre_test, + post_test), + + unit_test_setup_teardown(cmd_account_shows_account_when_connected_and_no_args, + pre_test, + post_test), /* - unit_test(cmd_account_shows_account_when_connected_and_no_args), unit_test(cmd_account_list_shows_accounts), unit_test(cmd_account_show_shows_usage_when_no_arg), unit_test(cmd_account_show_shows_message_when_account_does_not_exist), |