fix: service slot tests (#1058)

This commit is contained in:
Roman Zajic 2024-03-18 20:12:36 +08:00 committed by GitHub
parent 4b9e3635a2
commit afa124e1ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ import (
func TestServiceSlot(t *testing.T) {
slots := NewServiceSlot()
protocol := libp2pProtocol.ID("test/protocol")
protocol := libp2pProtocol.ID("/vac/waku/test/2.0.0")
peerID := peer.ID("peerId")
@ -55,8 +55,8 @@ func TestServiceSlot(t *testing.T) {
func TestServiceSlotRemovePeerFromAll(t *testing.T) {
slots := NewServiceSlot()
protocol := libp2pProtocol.ID("test/protocol")
protocol1 := libp2pProtocol.ID("test/protocol1")
protocol := libp2pProtocol.ID("/vac/waku/test/2.0.0")
protocol1 := libp2pProtocol.ID("/vac/waku/test/2.0.2")
peerID := peer.ID("peerId")