diff --git a/tests/Views/Columns/DateColumnTest.php b/tests/Views/Columns/DateColumnTest.php index 026dc12d9..c582cc9b6 100644 --- a/tests/Views/Columns/DateColumnTest.php +++ b/tests/Views/Columns/DateColumnTest.php @@ -68,7 +68,7 @@ public function can_not_get_column_reformatted_contents_with_bad_values(): void $firstRow = $this->basicTable->getRows()->first(); $firstRow->last_visit = '44-12-2023'; - + $this->assertSame('', $column->getContents($firstRow)); $firstRow->last_visit = '04-01-2023'; @@ -92,13 +92,12 @@ public function can_set_column_empty_value(): void $column->emptyValue('Not Found'); $this->assertSame('Not Found', $column->getEmptyValue()); - $thirdRow = $this->basicTable->getRows()->slice(3,1)->first(); - + $thirdRow = $this->basicTable->getRows()->slice(3, 1)->first(); + $this->assertSame('Not Found', $column->getContents($thirdRow)); $column->emptyValue(''); $this->assertSame('', $column->getContents($thirdRow)); } - }