diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-09-07 13:01:42 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-09-07 13:04:21 +0200 |
commit | 19ecacd57e9f99736657fb0296a589ed5681da6a (patch) | |
tree | a3e21810af220b050cd466c226cdff5007972352 /build/integration/features/bootstrap/BasicStructure.php | |
parent | 240798329d17750dd39463a16ed106b923725fd8 (diff) | |
download | nextcloud-server-19ecacd57e9f99736657fb0296a589ed5681da6a.tar.gz nextcloud-server-19ecacd57e9f99736657fb0296a589ed5681da6a.zip |
Add basic osc intergration tests
Diffstat (limited to 'build/integration/features/bootstrap/BasicStructure.php')
-rw-r--r-- | build/integration/features/bootstrap/BasicStructure.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build/integration/features/bootstrap/BasicStructure.php b/build/integration/features/bootstrap/BasicStructure.php index e6da74601ba..df46d0b1983 100644 --- a/build/integration/features/bootstrap/BasicStructure.php +++ b/build/integration/features/bootstrap/BasicStructure.php @@ -202,6 +202,14 @@ trait BasicStructure { } /** + * @Then /^the Content-Type should be "([^"]*)"$/ + * @param string $contentType + */ + public function theContentTypeShouldbe($contentType) { + PHPUnit_Framework_Assert::assertEquals($contentType, $this->response->getHeader('Content-Type')); + } + + /** * @param ResponseInterface $response */ private function extracRequestTokenFromResponse(ResponseInterface $response) { |