From 51107b5bbcd0dbd853256e1c3df8badd87daaf62 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Sat, 16 Sep 2023 03:35:36 +0000 Subject: [PATCH] Apply fixes from StyleCI --- tests/SampleTest.php | 4 ++-- tests/WriterTest.php | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/SampleTest.php b/tests/SampleTest.php index 2ad8348..1f73e4b 100644 --- a/tests/SampleTest.php +++ b/tests/SampleTest.php @@ -1513,9 +1513,9 @@ public function testSaveWithCsvWriter() 'h1 as title', '1.9 as static_number' ) - ->save(".cached/test_write.csv"); + ->save('.cached/test_write.csv'); - $this->assertFileExists(".cached/test_write.csv"); + $this->assertFileExists('.cached/test_write.csv'); } public function testWithFilterNested() diff --git a/tests/WriterTest.php b/tests/WriterTest.php index 5364186..eb5005e 100644 --- a/tests/WriterTest.php +++ b/tests/WriterTest.php @@ -1,4 +1,5 @@ setData($result); - $writer->save(".cached/output.csv"); + $writer->save('.cached/output.csv'); - $this->assertFileExists(".cached/output.csv"); + $this->assertFileExists('.cached/output.csv'); } }