From aff722e403bf6bc6db9b6b295b11c71ac45a0883 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 9 Jun 2014 19:24:11 +0200 Subject: [PATCH] Renamed tickets.ticket_priority to tickets.priority, tickets.ticket_state to ticket.state, ticket_articles.ticket_article_sender to ticket_articles.sender and ticket_articles.ticket_article_type to ticket_articles.type. --- public/assets/tests/form.js | 6 +++--- test/browser/{core_test.rb => unit_test.rb} | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename test/browser/{core_test.rb => unit_test.rb} (97%) diff --git a/public/assets/tests/form.js b/public/assets/tests/form.js index 7d3b7b7ab..b3af4bf94 100644 --- a/public/assets/tests/form.js +++ b/public/assets/tests/form.js @@ -408,7 +408,7 @@ test( "form postmaster filter", function() { set: { 'x-zammad-ticket-owner': 'owner', 'x-zammad-ticket-customer': 'customer', - 'x-zammad-ticket-ticket_priority_id': 2, + 'x-zammad-ticket-priority_id': 2, 'x-zammad-ticket-group_id': 1, }, } @@ -435,12 +435,12 @@ test( "form postmaster filter", function() { set: { 'x-zammad-ticket-owner': 'owner', 'x-zammad-ticket-customer': 'customer', - 'x-zammad-ticket-ticket_priority_id': "2", + 'x-zammad-ticket-priority_id': "2", 'x-zammad-ticket-group_id': "1", }, }; deepEqual( params, test_params, 'form param check' ); - el.find('[name="set::x-zammad-ticket-ticket_priority_id"]').parent().next().click() + el.find('[name="set::x-zammad-ticket-priority_id"]').parent().next().click() el.find('[name="set::x-zammad-ticket-customer"]').parent().next().click() App.Delay.set( function() { test( "form param check after remove click", function() { diff --git a/test/browser/core_test.rb b/test/browser/unit_test.rb similarity index 97% rename from test/browser/core_test.rb rename to test/browser/unit_test.rb index 60521227b..f0d680b6b 100644 --- a/test/browser/core_test.rb +++ b/test/browser/unit_test.rb @@ -1,7 +1,7 @@ # encoding: utf-8 require 'browser_test_helper' -class CoreTest < TestCase +class UnitTest < TestCase def test_core tests = [ {