summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVitor Mattos <vitor@php.rio>2023-05-02 09:46:53 -0300
committerVitor Mattos <vitor@php.rio>2023-05-03 05:00:09 -0300
commit92fe810ca26105b1b4dbfb89fdb4ccf4cf086794 (patch)
treeda32c3d5ed04ef221f5d9f3b88f6b4ea29747ab4 /tests
parent7a0ac60c920d7138a97e2a2c015fe52801dff0e2 (diff)
Remove unused step definition
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/features/bootstrap/FeatureContext.php22
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/integration/features/bootstrap/FeatureContext.php b/tests/integration/features/bootstrap/FeatureContext.php
index 33235ba3b..541e940d6 100644
--- a/tests/integration/features/bootstrap/FeatureContext.php
+++ b/tests/integration/features/bootstrap/FeatureContext.php
@@ -3490,26 +3490,4 @@ class FeatureContext implements Context, SnippetAcceptingContext {
}
}
- /**
- * @Then The following headers should be set
- * @param TableNode $table
- * @throws \Exception
- */
- public function theFollowingHeadersShouldBeSet(TableNode $table) {
- foreach ($table->getTable() as $header) {
- $headerName = $header[0];
- $expectedHeaderValue = $header[1];
- $returnedHeader = $this->response->getHeader($headerName)[0];
- if ($returnedHeader !== $expectedHeaderValue) {
- throw new \Exception(
- sprintf(
- "Expected value '%s' for header '%s', got '%s'",
- $expectedHeaderValue,
- $headerName,
- $returnedHeader
- )
- );
- }
- }
- }
}