aboutsummaryrefslogtreecommitdiffstats
path: root/core/channel_test.go
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2018-08-22 06:07:04 +0200
committerOndrej Fabry <ofabry@cisco.com>2018-08-22 06:07:04 +0200
commit892683bef86cacc2ccda2b4df2b079171bd92164 (patch)
treebb27f2abca3b1998ac808874d4759ff81b9c83dc /core/channel_test.go
parent08ddeac03fd3832d44a3dfb48ee85ecd95d2b388 (diff)
Show VPPApiError value always and remove RegisterBinAPITypes for mock adapter
Change-Id: I3b216748df1a372f25cc94e3df5d7b1b2b7a8a40 Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'core/channel_test.go')
-rw-r--r--core/channel_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/channel_test.go b/core/channel_test.go
index 197dda4..4a9ab2b 100644
--- a/core/channel_test.go
+++ b/core/channel_test.go
@@ -37,7 +37,7 @@ func setupTest(t *testing.T) *testCtx {
RegisterTestingT(t)
ctx := &testCtx{
- mockVpp: &mock.VppAdapter{},
+ mockVpp: mock.NewVppAdapter(),
}
var err error