Skip to content

Commit

Permalink
tests: Update upsert testing
Browse files Browse the repository at this point in the history
  • Loading branch information
livramatheus committed Oct 4, 2024
1 parent 70a928d commit c990e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CalendarTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public function testUpsertEvent()
$contents = $request->getBody()->getContents();
$this->assertJsonStringEqualsJsonString('{"@odata.type":"#microsoft.graph.event","end":{"dateTime":"2023-12-05 14:00:00","timeZone":"Eastern Standard Time"},"start":{"dateTime":"2023-12-05 13:00:00","timeZone":"Eastern Standard Time"},"subject":"test"}', $contents);

$this->expectException(RequestException::class);
$this->expectException(ReadError::class);
$this->stub->upsert($event, ['client' => $client]);
}

Expand Down

0 comments on commit c990e1a

Please sign in to comment.