Skip to content

Commit

Permalink
enforce VATICAN calendar for tests against VATICAN calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Apr 7, 2024
1 parent aba767a commit 1c2a015
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LitCalHealth.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ private function executeValidation( object $validation, ConnectionInterface $to

private function validateCalendar( string $Calendar, int $Year, string $category, ConnectionInterface $to ) : void {
if( $Calendar === 'VATICAN' ) {
$req = "?year=$Year&calendartype=CIVIL";
$req = "?nationalcalendar=VATICAN&year=$Year&calendartype=CIVIL";
} else {
$req = "?$category=$Calendar&year=$Year&calendartype=CIVIL";
}
Expand Down Expand Up @@ -228,7 +228,7 @@ private function validateCalendar( string $Calendar, int $Year, string $category

private function executeUnitTest( string $Test, string $Calendar, int $Year, string $category, ConnectionInterface $to ) : void {
if( $Calendar === 'VATICAN' ) {
$req = "?year=$Year&calendartype=CIVIL";
$req = "?nationalcalendar=VATICAN&year=$Year&calendartype=CIVIL";
} else {
$req = "?$category=$Calendar&year=$Year&calendartype=CIVIL";
}
Expand Down

0 comments on commit 1c2a015

Please sign in to comment.