From 48430664a49aee26cfbf8bd6be1a1817457fb802 Mon Sep 17 00:00:00 2001 From: Jon Langseth Date: Sun, 22 Jan 2012 23:04:19 +0100 Subject: [PATCH] Trivial documentation update. Removing Dumper from tests --- api/t/alias.t | 1 - api/t/numbers.t | 1 - api/t/phone.t | 3 --- doc/api-nodes.txt | 4 ++-- 4 files changed, 2 insertions(+), 7 deletions(-) diff --git a/api/t/alias.t b/api/t/alias.t index ac47b1c..94ce09d 100644 --- a/api/t/alias.t +++ b/api/t/alias.t @@ -3,7 +3,6 @@ use strict; use Test::More 'no_plan'; use tests_common; -use Data::Dumper; # Configuration variables defined in tests_common # Make sure those are updated/set correctly.. diff --git a/api/t/numbers.t b/api/t/numbers.t index ac41b81..b16c01c 100644 --- a/api/t/numbers.t +++ b/api/t/numbers.t @@ -3,7 +3,6 @@ use strict; use Test::More 'no_plan'; use tests_common; -use Data::Dumper; # Configuration variables defined in tests_common # Make sure those are updated/set correctly.. diff --git a/api/t/phone.t b/api/t/phone.t index 695610b..baccaf5 100644 --- a/api/t/phone.t +++ b/api/t/phone.t @@ -3,7 +3,6 @@ use strict; use Test::More 'no_plan'; use tests_common; -use Data::Dumper; # Configuration variables defined in tests_common # Make sure those are updated/set correctly.. @@ -67,8 +66,6 @@ undef $data; $data = exec_apinode("phone/list", { 'search' => $test_macaddress }); is( $data->{'response'}, 'ok', 'phone/list search result'); ok($data->{'list'}, 'phone/list search array'); -print Dumper($data->{'list'}); - undef $data; $data = exec_apinode("phone/get", { 'mac' => $test_macaddress }); diff --git a/doc/api-nodes.txt b/doc/api-nodes.txt index cb6ea9a..a9f500e 100644 --- a/doc/api-nodes.txt +++ b/doc/api-nodes.txt @@ -593,8 +593,8 @@ alias/list (naturally). Return: - Returns 'ok' on success, with an array of 'destination' and 'alias' - pairs. + Returns 'ok' on success, with an array 'aliases' containing + 'destination' and 'alias' pairs. Returns 'ok' with an empty array if the search gave no results. Returns 'ok' with an empty array if the database search fails. Returns 'failed' with 'cause' = 'invalid' on invalid SIP addresses. -- 2.39.2