X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fteststub%2FcontrolRmr.go;h=71d66fe9d8797b8ddac8d903ae60a0e78a90e86c;hb=9dc5adc78d459157a42ef8997eeced82a3616f01;hp=18b821e5bb947eb0457a9650329ddeb4625b8341;hpb=f3f4efb9be78f25d3417ecbbce3ea988550e5381;p=ric-plt%2Fsubmgr.git diff --git a/pkg/teststub/controlRmr.go b/pkg/teststub/controlRmr.go index 18b821e..71d66fe 100644 --- a/pkg/teststub/controlRmr.go +++ b/pkg/teststub/controlRmr.go @@ -55,11 +55,11 @@ func (tc *RmrControl) Init(desc string, srcId RmrSrcId, rtgSvc RmrRtgSvc) { } func (tc *RmrControl) TestError(t *testing.T, pattern string, args ...interface{}) { - tc.Logger.Error(fmt.Sprintf(pattern, args...)) + tc.Error(fmt.Sprintf(pattern, args...)) t.Errorf(fmt.Sprintf(pattern, args...)) } func (tc *RmrControl) TestLog(t *testing.T, pattern string, args ...interface{}) { - tc.Logger.Info(fmt.Sprintf(pattern, args...)) + tc.Info(fmt.Sprintf(pattern, args...)) t.Logf(fmt.Sprintf(pattern, args...)) }