File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ public static function dataTableLayout()
5353 'searchable ' => true ,
5454 'sortable ' => true ,
5555 'title ' => trans ('admin/licenses/form.to_email ' ),
56+ 'formatter ' => 'emailFormatter ' ,
5657 ], [
5758 'field ' => 'license_name ' ,
5859 'searchable ' => true ,
Original file line number Diff line number Diff line change @@ -18,12 +18,14 @@ public function testSetsPurchaseDatesAppropriately()
1818 public function testSetsPurchaseCostsAppropriately ()
1919 {
2020 $ c = new SnipeModel ;
21+ $ c ->purchase_cost = '' ;
22+ $ this ->assertTrue ($ c ->purchase_cost == null );
2123 $ c ->purchase_cost = '0.00 ' ;
22- $ this ->assertTrue ($ c ->purchase_cost === null );
24+ $ this ->assertTrue ($ c ->purchase_cost == 0.00 );
2325 $ c ->purchase_cost = '9.54 ' ;
24- $ this ->assertTrue ($ c ->purchase_cost === 9.54 );
26+ $ this ->assertTrue ($ c ->purchase_cost == 9.54 );
2527 $ c ->purchase_cost = '9.50 ' ;
26- $ this ->assertTrue ($ c ->purchase_cost === 9.5 );
28+ $ this ->assertTrue ($ c ->purchase_cost == 9.5 );
2729 }
2830
2931 public function testNullsBlankLocationIdsButNotOthers ()
You can’t perform that action at this time.
0 commit comments