Skip to content

Commit

Permalink
Fixed some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasAFink committed Jan 12, 2024
1 parent 7b6e84e commit dc09a0f
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 18 deletions.
1 change: 0 additions & 1 deletion zmsadmin/src/Zmsadmin/Helper/GraphDefaults.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ public static function getDepartment()
return static::defaultFormat($default);
}


/**
* requests reduced response data
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function testWithSelectedProcessChangedDate()
'function' => 'readGetResult',
'url' => '/scope/141/',
'parameters' => [
'resolveReferences' => 1,
'resolveReferences' => 2,
'gql' => \BO\Zmsadmin\Helper\GraphDefaults::getScope()
],
'response' => $this->readFixture("GET_scope_141.json")
Expand Down Expand Up @@ -140,7 +140,7 @@ public function testWithSelectedProcess()
'function' => 'readGetResult',
'url' => '/scope/141/',
'parameters' => [
'resolveReferences' => 1,
'resolveReferences' => 2,
'gql' => \BO\Zmsadmin\Helper\GraphDefaults::getScope()
],
'response' => $this->readFixture("GET_scope_141.json")
Expand Down
4 changes: 2 additions & 2 deletions zmsadmin/tests/Zmsadmin/AppointmentFormTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public function testClusterEnabledWithSelectedScope()
'function' => 'readGetResult',
'url' => '/scope/141/',
'parameters' => [
'resolveReferences' => 1,
'resolveReferences' => 2,
'gql' => \BO\Zmsadmin\Helper\GraphDefaults::getScope()
],
'response' => $this->readFixture("GET_scope_141.json")
Expand Down Expand Up @@ -312,7 +312,7 @@ public function testWithSlotsRequired()
'function' => 'readGetResult',
'url' => '/scope/141/',
'parameters' => [
'resolveReferences' => 1,
'resolveReferences' => 2,
'gql' => \BO\Zmsadmin\Helper\GraphDefaults::getScope()
],
'response' => $this->readFixture("GET_scope_141_multipleSlotsEnabled.json")
Expand Down
2 changes: 1 addition & 1 deletion zmsadmin/tests/Zmsadmin/CalendarPageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function testWithSelectedScope()
'function' => 'readGetResult',
'url' => '/scope/141/',
'parameters' => [
'resolveReferences' => 1,
'resolveReferences' => 2,
'gql' => \BO\Zmsadmin\Helper\GraphDefaults::getScope()
],
'response' => $this->readFixture("GET_scope_141.json")
Expand Down
14 changes: 7 additions & 7 deletions zmsadmin/tests/Zmsadmin/ProcessReserveTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function testRendering()
'function' => 'readGetResult',
'url' => '/scope/141/',
'parameters' => [
'resolveReferences' => 1,
'resolveReferences' => 2,
'gql' => \BO\Zmsadmin\Helper\GraphDefaults::getScope()
],
'response' => $this->readFixture("GET_scope_141.json")
Expand Down Expand Up @@ -90,7 +90,7 @@ public function testWithConflicts()
'function' => 'readGetResult',
'url' => '/scope/141/',
'parameters' => [
'resolveReferences' => 1,
'resolveReferences' => 2,
'gql' => \BO\Zmsadmin\Helper\GraphDefaults::getScope()
],
'response' => $this->readFixture("GET_scope_141.json")
Expand Down Expand Up @@ -146,7 +146,7 @@ public function testReserveCopy()
'function' => 'readGetResult',
'url' => '/scope/141/',
'parameters' => [
'resolveReferences' => 1,
'resolveReferences' => 2,
'gql' => \BO\Zmsadmin\Helper\GraphDefaults::getScope()
],
'response' => $this->readFixture("GET_scope_141.json")
Expand Down Expand Up @@ -196,7 +196,7 @@ public function testWithConfirmations()
'function' => 'readGetResult',
'url' => '/scope/141/',
'parameters' => [
'resolveReferences' => 1,
'resolveReferences' => 2,
'gql' => \BO\Zmsadmin\Helper\GraphDefaults::getScope()
],
'response' => $this->readFixture("GET_scope_141.json")
Expand Down Expand Up @@ -260,7 +260,7 @@ public function testWithManualSlotCount()
'function' => 'readGetResult',
'url' => '/scope/141/',
'parameters' => [
'resolveReferences' => 1,
'resolveReferences' => 2,
'gql' => \BO\Zmsadmin\Helper\GraphDefaults::getScope()
],
'response' => $this->readFixture("GET_scope_141.json")
Expand Down Expand Up @@ -302,7 +302,7 @@ public function testWithRequiredMail()
'function' => 'readGetResult',
'url' => '/scope/141/',
'parameters' => [
'resolveReferences' => 1,
'resolveReferences' => 2,
'gql' => \BO\Zmsadmin\Helper\GraphDefaults::getScope()
],
'response' => $this->readFixture("GET_scope_141_required_mail.json")
Expand Down Expand Up @@ -346,7 +346,7 @@ public function testValidationFailed()
'function' => 'readGetResult',
'url' => '/scope/141/',
'parameters' => [
'resolveReferences' => 1,
'resolveReferences' => 2,
'gql' => \BO\Zmsadmin\Helper\GraphDefaults::getScope()
],
'response' => $this->readFixture("GET_scope_141.json")
Expand Down
10 changes: 5 additions & 5 deletions zmsadmin/tests/Zmsadmin/ProcessSaveTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function testRendering()
'function' => 'readGetResult',
'url' => '/scope/141/',
'parameters' => [
'resolveReferences' => 1,
'resolveReferences' => 2,
'gql' => \BO\Zmsadmin\Helper\GraphDefaults::getScope()
],
'response' => $this->readFixture("GET_scope_141.json")
Expand Down Expand Up @@ -92,7 +92,7 @@ public function testWithConflictOverbookedSlots()
'function' => 'readGetResult',
'url' => '/scope/141/',
'parameters' => [
'resolveReferences' => 1,
'resolveReferences' => 2,
'gql' => \BO\Zmsadmin\Helper\GraphDefaults::getScope()
],
'response' => $this->readFixture("GET_scope_141.json")
Expand Down Expand Up @@ -150,7 +150,7 @@ public function testWithConflictOutOfAvailability()
'function' => 'readGetResult',
'url' => '/scope/141/',
'parameters' => [
'resolveReferences' => 1,
'resolveReferences' => 2,
'gql' => \BO\Zmsadmin\Helper\GraphDefaults::getScope()
],
'response' => $this->readFixture("GET_scope_141.json")
Expand Down Expand Up @@ -208,7 +208,7 @@ public function testWithQueuedProcess()
'function' => 'readGetResult',
'url' => '/scope/141/',
'parameters' => [
'resolveReferences' => 1,
'resolveReferences' => 2,
'gql' => \BO\Zmsadmin\Helper\GraphDefaults::getScope()
],
'response' => $this->readFixture("GET_scope_141.json")
Expand Down Expand Up @@ -252,7 +252,7 @@ public function testValidationFailed()
'function' => 'readGetResult',
'url' => '/scope/141/',
'parameters' => [
'resolveReferences' => 1,
'resolveReferences' => 2,
'gql' => \BO\Zmsadmin\Helper\GraphDefaults::getScope()
],
'response' => $this->readFixture("GET_scope_141.json")
Expand Down

0 comments on commit dc09a0f

Please sign in to comment.