Skip to content

Commit 37c507a

Browse files
committed
cleanup
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
1 parent 30b7231 commit 37c507a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

integration/ports.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ var (
6060

6161
AllTestTypes = []*InfrastructureType{
6262
WebSocketNoReplication,
63-
// LibP2PNoReplication,
64-
// WebSocketWithReplication,
63+
LibP2PNoReplication,
64+
WebSocketWithReplication,
6565
}
6666
)
6767

token/driver/request_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,10 @@ func TestTokenRequestMetadataSerialization(t *testing.T) {
134134
assert.NoError(t, err)
135135
raw2, err := reqMeta2.Bytes()
136136
assert.NoError(t, err)
137+
reqMeta3 := &TokenRequestMetadata{}
138+
err = reqMeta3.FromBytes(raw2)
139+
assert.NoError(t, err)
137140

138141
assert.Equal(t, reqMeta, reqMeta2)
139-
assert.Equal(t, raw, raw2)
142+
assert.Equal(t, reqMeta2, reqMeta3)
140143
}

0 commit comments

Comments
 (0)