Add *dynamic_filter action type and remove *dynamic_account_action

This commit is contained in:
arberkatellari
2025-05-28 16:40:06 +02:00
committed by Dan Christian Bogos
parent 7fa43788e1
commit ea5ed9eaad
6 changed files with 259 additions and 58 deletions

View File

@@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
package general_tests
import (
"bytes"
"fmt"
"path"
"path/filepath"
"reflect"
@@ -50,9 +48,9 @@ func TestDynamicAccountWithStatsAndThreshold(t *testing.T) {
ng := engine.TestEngine{
ConfigPath: filepath.Join(*utils.DataDir, "conf", "samples", "dynamic_account_threshold"),
TpPath: path.Join(*utils.DataDir, "tariffplans", "testit"),
LogBuffer: &bytes.Buffer{},
// LogBuffer: &bytes.Buffer{},
}
t.Cleanup(func() { fmt.Println(ng.LogBuffer) })
// t.Cleanup(func() { fmt.Println(ng.LogBuffer) })
client, _ := ng.Run(t)
t.Run("SetInitiativeThresholdProfile", func(t *testing.T) {