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.

This commit is contained in:
Martin Edenhofer 2014-06-09 19:24:11 +02:00
parent 7eb05401d7
commit aff722e403
2 changed files with 4 additions and 4 deletions

View file

@ -408,7 +408,7 @@ test( "form postmaster filter", function() {
set: { set: {
'x-zammad-ticket-owner': 'owner', 'x-zammad-ticket-owner': 'owner',
'x-zammad-ticket-customer': 'customer', 'x-zammad-ticket-customer': 'customer',
'x-zammad-ticket-ticket_priority_id': 2, 'x-zammad-ticket-priority_id': 2,
'x-zammad-ticket-group_id': 1, 'x-zammad-ticket-group_id': 1,
}, },
} }
@ -435,12 +435,12 @@ test( "form postmaster filter", function() {
set: { set: {
'x-zammad-ticket-owner': 'owner', 'x-zammad-ticket-owner': 'owner',
'x-zammad-ticket-customer': 'customer', 'x-zammad-ticket-customer': 'customer',
'x-zammad-ticket-ticket_priority_id': "2", 'x-zammad-ticket-priority_id': "2",
'x-zammad-ticket-group_id': "1", 'x-zammad-ticket-group_id': "1",
}, },
}; };
deepEqual( params, test_params, 'form param check' ); 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() el.find('[name="set::x-zammad-ticket-customer"]').parent().next().click()
App.Delay.set( function() { App.Delay.set( function() {
test( "form param check after remove click", function() { test( "form param check after remove click", function() {

View file

@ -1,7 +1,7 @@
# encoding: utf-8 # encoding: utf-8
require 'browser_test_helper' require 'browser_test_helper'
class CoreTest < TestCase class UnitTest < TestCase
def test_core def test_core
tests = [ tests = [
{ {