mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-23 08:08:45 +05:00
Add new unit tests on engine
This commit is contained in:
committed by
Dan Christian Bogos
parent
d02df49f53
commit
a945fccad6
@@ -667,3 +667,11 @@ func TestExportRequestSetFields2(t *testing.T) {
|
||||
t.Error(err)
|
||||
}
|
||||
}
|
||||
|
||||
func TestExportRequestString(t *testing.T) {
|
||||
eeR := &ExportRequest{}
|
||||
jsonStr := eeR.String()
|
||||
if jsonStr == "" {
|
||||
t.Errorf("Expected non-empty JSON string, but got empty")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user