Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assetcontroller cleanup #5858

Merged
merged 9 commits into from
Jul 17, 2018
Prev Previous commit
Next Next commit
Fix Unit test failing after date changes.
  • Loading branch information
dmeltzer committed Jul 16, 2018
commit 658a27b4cb71d66dd34da6bf94ece5aa4e82de73
4 changes: 2 additions & 2 deletions tests/unit/AssetMaintenanceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function it_nulls_out_completion_date_if_blank_or_invalid()
$c->completion_date = '0000-00-00';
$this->assertTrue($c->completion_date===null);
$c->completion_date = '2017-05-12';
$this->assertTrue($c->completion_date==='2017-05-12');
$this->assertTrue($c->completion_date==Carbon::parse('2017-05-12'));

}
}
}