20 lines
345 B
Go
20 lines
345 B
Go
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
package commands
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestVersion(t *testing.T) {
|
|
if testing.Short() {
|
|
t.Skip("skipping version test in short mode")
|
|
}
|
|
|
|
th := SetupWithStoreMock(t)
|
|
defer th.TearDown()
|
|
|
|
th.CheckCommand(t, "version")
|
|
}
|