-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added testcase for some functions in server/command.go #845
base: add_server/api.go_testcases
Are you sure you want to change the base?
Added testcase for some functions in server/command.go #845
Conversation
…attermost-plugin-github into add_server/command.go_testcases
…attermost-plugin-github into add_server/command.go_testcases
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
} | ||
|
||
func TestHandleUnmuteAll(t *testing.T) { | ||
mockKvStore, mockAPI, _, _, _ := GetTestSetup(t) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mockAPI is never used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Used in p := getPluginTest(mockAPI, mockKvStore)
…ub into add_server/command.go_testcases
…attermost-plugin-github into add_server/command.go_testcases
Summary
Unit test cases for the following functions in server/command.go file were added