Skip to content

Commit 277cb2b

Browse files
committed
add Patch method to preflight
1 parent ea0a394 commit 277cb2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ public function testOptionsRequest()
429429
{
430430
$test = new API($this);
431431
$test->options('/posts/2');
432-
$test->expect('["Access-Control-Allow-Headers: Content-Type","Access-Control-Allow-Methods: OPTIONS, GET, PUT, POST, DELETE","Access-Control-Allow-Credentials: true","Access-Control-Max-Age: 1728000"]',false);
432+
$test->expect('["Access-Control-Allow-Headers: Content-Type","Access-Control-Allow-Methods: OPTIONS, GET, PUT, POST, DELETE, PATCH","Access-Control-Allow-Credentials: true","Access-Control-Max-Age: 1728000"]',false);
433433
}
434434

435435
public function testHidingPasswordColumn()

0 commit comments

Comments
 (0)