Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayn93 committed Jun 14, 2024
1 parent 3836e4f commit 9904ab1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Test/Unit/Service/FeedFileServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ public function test_will_throw_exception_on_empty_export_type()
{
$this->expectException(InvalidArgumentException::class);
$this->expectExceptionMessage('Export type must not be empty');
$this->assertSame('export.test_type.test_channel.csv', $this->feedFileService->getFeedExportFilename('', 'test_channel'));
$this->assertSame('exportData.test_type.test_channel.csv', $this->feedFileService->getFeedExportFilename('', 'test_channel'));
}

public function test_will_throw_exception_on_empty_export_channel()
{
$this->expectException(InvalidArgumentException::class);
$this->expectExceptionMessage('Channel must not be empty');
$this->assertSame('export.test_type.test_channel.csv', $this->feedFileService->getFeedExportFilename('test_type', ''));
$this->assertSame('exportData.test_type.test_channel.csv', $this->feedFileService->getFeedExportFilename('test_type', ''));
}

public static function validDataProvider(): array
Expand Down

0 comments on commit 9904ab1

Please sign in to comment.