From bf995f354a3ce16afb890973d40607eaae2e395a Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Tue, 11 Oct 2016 10:44:44 +0200 Subject: [PATCH] MT#21751 fix test fail introduced at 2d34ec796 > # Failure: Unexpected action call expire(table: 0x2247140,"431110001",7200), expected: > call expire(table: 0x2247140,"9bcb88b6-541a-43da-8fdc-816f5557ff93",7200) => 1 > # Ran 3 tests in 0.001 seconds, 2 successes, 1 failures * recentcalls rename set_by_uuid to set_by_key Change-Id: I9bf3cc8f3174e0aafc7f243a5edf3134d0bc5afd --- tests/ngcp_recentcalls.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ngcp_recentcalls.lua b/tests/ngcp_recentcalls.lua index 70ac209..4424d15 100644 --- a/tests/ngcp_recentcalls.lua +++ b/tests/ngcp_recentcalls.lua @@ -87,7 +87,7 @@ TestNGCPRecentCalls = {} --class "caller", caller, "callee", callee, "source", source) ;mc :returns(true) - self.central:expire(uuid, ttl) ;mc :returns(1) + self.central:expire(key, ttl) ;mc :returns(1) mc:replay() local res = self.rcalls:set_by_key(key,