Skip to content

Commit

Permalink
Subtract 80 from current year to set
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHerman committed Feb 23, 2018
1 parent 532315c commit da8f6f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test-class-gem-form-fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public function test_date() {
$field->display = 'text_a';
$field->value = 'the_value';
$cur_year = date( 'Y' ) + 5;
$min_year = date( 'Y' ) - 81;
$min_year = date( 'Y' ) - 80;
ob_start();
GEM_Form_Fields::date( $field );
$actual_output = ob_get_clean();
Expand Down

0 comments on commit da8f6f1

Please sign in to comment.