From 5ff7d114e5cf8c8436a16a0bd49b161f1c9d0740 Mon Sep 17 00:00:00 2001 From: Guillermo Date: Thu, 26 Sep 2019 23:18:26 -0300 Subject: [PATCH] fix --- tests/scripts.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/scripts.rb b/tests/scripts.rb index 15b58d95..7c1e7bf0 100644 --- a/tests/scripts.rb +++ b/tests/scripts.rb @@ -67,16 +67,15 @@ class Scripts request('/user/logout') end - def self.createTicket(title = 'Winter is coming',content = 'The north remembers') + def self.createTicket(title = 'Winter is coming',content = 'The north remembers', department = 1) result = request('/ticket/create', { title: title, content: content, - departmentId: 1, + departmentId: department, language: 'en', csrf_userid: $csrf_userid, csrf_token: $csrf_token }) - result['data'] end