fixed NGCPAvp Updated vars require
@ -9,7 +9,7 @@ NGCPAvp_MT = {
}
function NGCPAvp:new(id)
local t = { id = "$(avp(s:" .. id .. "))" }
local t = { id = "$avp(s:" .. id .. ")" }
NGCPAvp_MT.__call = function(t, value)
if not value then
--print(table.tostring(sr.pv.vars))
@ -20,7 +20,7 @@ package.preload['luasql.mysql'] = function ()
end
require 'ngcp.dp'
require 'tests.dp_vars'
require 'tests_v.dp_vars'
TestNGCPDomainPrefs = {} --class
require 'ngcp.pp'
require 'tests.pp_vars'
require 'tests_v.pp_vars'
TestNGCPPeerPrefs = {} --class
require 'ngcp.up'
require 'tests.up_vars'
require 'tests_v.up_vars'
TestNGCPUserPrefs = {} --class