Skip to content

Commit

Permalink
Tests run v0.0.4-dev, not v0.0.3. Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
driusan committed Jun 20, 2023
1 parent 1b0a23b commit 379e286
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions raisinbread/test/api/LorisApiVisitsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function testGetCandidatesCandidVisit(): void
'string'
);
$this->assertSame(
gettype($candidatesVisitArray['Meta']['Battery']),
gettype($candidatesVisitArray['Meta']['Cohort']),
'string'
);
$this->assertSame(
Expand All @@ -89,7 +89,7 @@ public function testGetCandidatesCandidVisit(): void
$this->assertArrayHasKey('CandID', $candidatesVisitArray['Meta']);
$this->assertArrayHasKey('Project', $candidatesVisitArray['Meta']);
$this->assertArrayHasKey('Site', $candidatesVisitArray['Meta']);
$this->assertArrayHasKey('Battery', $candidatesVisitArray['Meta']);
$this->assertArrayHasKey('Cohort', $candidatesVisitArray['Meta']);
$this->assertArrayHasKey('Project', $candidatesVisitArray['Meta']);
$this->assertArrayHasKey('Stages', $candidatesVisitArray);
$this->assertArrayHasKey(
Expand Down Expand Up @@ -118,7 +118,7 @@ public function testPutCandidatesCandidVisit(): void
$json = ['CandID' => '900000',
'Visit' => "V1",
'Site' => "Data Coordinating Center",
'Battery' => "High Yeast",
'Cohort' => "High Yeast",
'Project' => "Rye",
];
$response = $this->client->request(
Expand Down Expand Up @@ -171,7 +171,7 @@ public function testPutCandidatesCandidVisit(): void
$json = ['CandID' => "115788",
'Visit' => "V3",
'Site' => "Data Coordinating Center",
'Battery' => "Stale",
'Cohort' => "Stale",
'Project' => "Pumpernickel",
];
$response = $this->client->request(
Expand All @@ -195,7 +195,7 @@ public function testPutCandidatesCandidVisit(): void
$json = ['CandID' => '900000',
'Visit' => "V1",
'Site' => "Montreal",
'Battery' => "Stale",
'Cohort' => "Stale",
'Project' => "Pumpernickel",
];
$response = $this->client->request(
Expand Down

0 comments on commit 379e286

Please sign in to comment.