Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
27pchrisl committed Feb 27, 2022
1 parent 2711f51 commit d84cb61
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/Protocol/FormatTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ public function test_rejects_bad_accept_subtype()
);
}

public function test_no_accept_header()
{
$this->assertResponseSnapshot(
(new Request)
->unsetHeader('accept')
);
}

public function test_rejects_bad_accept_type_subtype()
{
$this->assertNotAcceptable(
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
headers:
cache-control: ['no-cache, private']
content-type: [application/json;metadata=minimal]
odata-version: ['4.01']
status: 200

0 comments on commit d84cb61

Please sign in to comment.