1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-05-08 01:16:40 +02:00

Removed col_date_type option from test-empty-cells-filtering

This commit is contained in:
Max Guglielmi 2016-09-25 12:16:42 +10:00
parent e73471e10a
commit b882404fe3

View file

@ -2,7 +2,8 @@
// issue 162 - https://github.com/koalyptus/TableFilter/issues/162 // issue 162 - https://github.com/koalyptus/TableFilter/issues/162
var tf = new TableFilter('demo', { var tf = new TableFilter('demo', {
base_path: '../dist/tablefilter/', base_path: '../dist/tablefilter/',
col_date_type: ['DMY'] locale: 'en-GB',
col_types: ['date', 'string']
}); });
tf.init(); tf.init();
@ -17,7 +18,7 @@
// assert // assert
deepEqual(tf.getValidRows().length, 0, 'Expected filtered rows'); deepEqual(tf.getValidRows().length, 0, 'Expected filtered rows');
}); });
test('Can filter DMY date type', function(){ test('Can filter dd.MM.yyyy date type', function(){
// setup // setup
tf.clearFilters(); tf.clearFilters();
// act // act