Skip to content

Commit

Permalink
Merge pull request #1070 from biigle/patch-2
Browse files Browse the repository at this point in the history
Fix basic report
  • Loading branch information
mzur authored Feb 4, 2025
2 parents 9ae6df4 + 2bb7fc3 commit a53c55e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ protected function query()
* @param string $title The title to put in the first row of the CSV
* @return CsvFile
*/
protected function createCsv($labels, $title = "\n")
protected function createCsv($labels, $title = '')
{
$csv = CsvFile::makeTmp();
// The title must not be empty as the Python
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function testGenerateReport()

$mock->shouldReceive('put')
->once()
->with("\n");
->with('');

$mock->shouldReceive('putCsv')
->once()
Expand Down

0 comments on commit a53c55e

Please sign in to comment.