From dc4c7d84d129510b152c1c521ef15d19344fb361 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 21 Sep 2015 10:34:17 +0200 Subject: [PATCH] Fixed test. --- public/assets/tests/table.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/assets/tests/table.js b/public/assets/tests/table.js index e7f44cf62..ad640f80c 100644 --- a/public/assets/tests/table.js +++ b/public/assets/tests/table.js @@ -245,7 +245,7 @@ test( "table test", function() { equal( el.find('table > thead > tr > th:nth-child(6)').text().trim(), 'Priorität', 'check header') equal( el.find('table > thead > tr > th:nth-child(7)').text().trim(), 'Gruppe', 'check header') equal( el.find('table > thead > tr > th:nth-child(8)').text().trim(), 'Status', 'check header') - equal( el.find('table > thead > tr > th:nth-child(9)').text().trim(), 'Erstellt', 'check header') + equal( el.find('table > thead > tr > th:nth-child(9)').text().trim(), 'Erstellt am', 'check header') equal( el.find('tbody > tr:nth-child(1) > td').length, 9, 'check row 1') equal( el.find('tbody > tr:nth-child(1) > td:nth-child(1) input').val(), '3', 'check row 1') equal( el.find('tbody > tr:nth-child(1) > td:nth-child(1) input').prop('checked'), '', 'check row 1') @@ -317,7 +317,7 @@ test( "table test", function() { equal( el.find('table > thead > tr > th:nth-child(5)').text().trim(), 'Kunde', 'check header') equal( el.find('table > thead > tr > th:nth-child(6)').text().trim(), 'Priorität', 'check header') equal( el.find('table > thead > tr > th:nth-child(7)').text().trim(), 'Status', 'check header') - equal( el.find('table > thead > tr > th:nth-child(8)').text().trim(), 'Erstellt', 'check header') + equal( el.find('table > thead > tr > th:nth-child(8)').text().trim(), 'Erstellt am', 'check header') equal( el.find('tbody > tr:nth-child(1) > td').length, 1, 'check row 1') equal( el.find('tbody > tr:nth-child(1) > td:nth-child(1)').text().trim(), 'group 1', 'check row 1') equal( el.find('tbody > tr:nth-child(2) > td').length, 8, 'check row 2')