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 12, 2023
1 parent 36a0ab4 commit 1fa3f7e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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 Down

0 comments on commit 1fa3f7e

Please sign in to comment.