[tests-only] add API test to check cors headers with OPTIONS request to tus upload endpoint (#8646)
* test(api): check cors headers with OPTIONS request to tus upload endpoint * test(api): fix class name * fix table header name
This commit is contained in:
@@ -42,6 +42,13 @@ class TUSContext implements Context {
|
||||
|
||||
private ?string $resourceLocation = null;
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getTusResourceLocation(): string {
|
||||
return $this->resourceLocation ?: "";
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $user
|
||||
* @param TableNode $headers
|
||||
|
||||
Reference in New Issue
Block a user