Skip to content
This repository has been archived by the owner on Oct 2, 2022. It is now read-only.

Commit

Permalink
Test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Janos Pasztor committed Jan 15, 2021
1 parent 1890028 commit 13cb69e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,9 @@ func checkStoredAuditMessages(t *testing.T, dir string, logger log.Logger) {
assert.Equal(t, message.TypeHandshakeSuccessful, messages[3].MessageType)
assert.Equal(t, message.TypeNewChannelSuccessful, messages[4].MessageType)
assert.Equal(t, message.TypeChannelRequestShell, messages[5].MessageType)
assert.Equal(t, message.TypeExit, messages[6].MessageType)
assert.Equal(t, message.TypeDisconnect, messages[7].MessageType)
assert.Equal(t, message.TypeClose, messages[6].MessageType)
assert.Equal(t, message.TypeExit, messages[7].MessageType)
assert.Equal(t, message.TypeDisconnect, messages[8].MessageType)
}

func getStoredMessages(t *testing.T, dir string, logger log.Logger) ([]message.Message, []error, bool) {
Expand Down

0 comments on commit 13cb69e

Please sign in to comment.