From cc778971a88a8b0bf0e1fa06f5794e14eadb8e8d Mon Sep 17 00:00:00 2001 From: Gerhard Jungwirth Date: Wed, 20 Aug 2014 20:59:43 +0300 Subject: [PATCH] MT#8729 api-test callforward deflation new format without sip:... --- t/api-callforwards.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/api-callforwards.t b/t/api-callforwards.t index 8696cd694b..a5d8580df0 100644 --- a/t/api-callforwards.t +++ b/t/api-callforwards.t @@ -163,7 +163,7 @@ cmp_ok ($cf1_id, '>', 0, "should be positive integer"); my $cf1put = JSON::from_json($res->decoded_content); is (ref $cf1put, "HASH", "should be hashref"); is ($cf1put->{cfu}{destinations}->[0]->{timeout}, 200, "Check timeout of cft"); - like ($cf1put->{cft}{destinations}->[0]->{destination}, qr/^sip:5678/, "Check first destination of cft"); + is ($cf1put->{cft}{destinations}->[0]->{destination}, "5678", "Check first destination of cft"); is ($cf1put->{cft}{destinations}->[1]->{destination}, "voicebox", "Check second destination of cft"); #write invalid 'timeout'