diff --git a/tests/testinterop.nim b/tests/testinterop.nim
index 47b2fbac8..5cbd53d5a 100644
--- a/tests/testinterop.nim
+++ b/tests/testinterop.nim
@@ -1,3 +1,5 @@
+import stublogger
+
 import helpers, commoninterop
 import ../libp2p
 import ../libp2p/crypto/crypto, ../libp2p/protocols/relay/[relay, client]