summaryrefslogtreecommitdiffstats
path: root/build/integration/features/bootstrap/BasicStructure.php
diff options
context:
space:
mode:
Diffstat (limited to 'build/integration/features/bootstrap/BasicStructure.php')
-rw-r--r--build/integration/features/bootstrap/BasicStructure.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/integration/features/bootstrap/BasicStructure.php b/build/integration/features/bootstrap/BasicStructure.php
index 8961efc6f31..ec23916d614 100644
--- a/build/integration/features/bootstrap/BasicStructure.php
+++ b/build/integration/features/bootstrap/BasicStructure.php
@@ -83,11 +83,11 @@ trait BasicStructure {
}
/**
- * @Given /^using api version "([^"]*)"$/
+ * @Given /^using api version "(\d+)"$/
* @param string $version
*/
public function usingApiVersion($version) {
- $this->apiVersion = $version;
+ $this->apiVersion = (int) $version;
}
/**