🤖 Auto commit for release 'develop' on 2025-05-29

This commit is contained in:
JC5
2025-05-29 19:58:55 +02:00
parent 2e69e09808
commit 36ab188ad1
55 changed files with 240 additions and 198 deletions

View File

@@ -55,7 +55,7 @@ final class NavigationEndOfPeriodTest extends TestCase
public function testGivenADateAndFrequencyWhenCalculateTheDateThenReturnsTheExpectedDateSuccessful(string $frequency, Carbon $from, Carbon $expected): void
{
$period = clone $this->navigation->endOfPeriod($from, $frequency);
$this->assertSame($expected->toDateString(), $period->toDateString());
self::assertSame($expected->toDateString(), $period->toDateString());
}
public static function provideDates(): Iterator
@@ -116,7 +116,7 @@ final class NavigationEndOfPeriodTest extends TestCase
Log::spy();
$period = $this->navigation->endOfPeriod($from, $frequency);
$this->assertSame($expected->toDateString(), $period->toDateString());
self::assertSame($expected->toDateString(), $period->toDateString());
$expectedMessage = sprintf('Cannot do endOfPeriod for $repeat_freq "%s"', $frequency);
Log::shouldHaveReceived('error', [$expectedMessage]);