summaryrefslogtreecommitdiffstats
path: root/webapp/tests/client_command.test.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/tests/client_command.test.jsx')
-rw-r--r--webapp/tests/client_command.test.jsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/webapp/tests/client_command.test.jsx b/webapp/tests/client_command.test.jsx
index 7d39537f8..e6795e5d7 100644
--- a/webapp/tests/client_command.test.jsx
+++ b/webapp/tests/client_command.test.jsx
@@ -38,10 +38,11 @@ describe('Client.Commands', function() {
it('executeCommand', function(done) {
TestHelper.initBasic(() => {
+ const args = {};
+ args.channel_id = TestHelper.basicChannel().id;
TestHelper.basicClient().executeCommand(
- TestHelper.basicChannel().id,
'/shrug',
- null,
+ args,
function(data) {
assert.equal(data.response_type, 'in_channel');
done();