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')