...
 
Commits (2)
......@@ -43,6 +43,14 @@ lint:lint-php7.2:
script:
- bash ci/phplint.sh ./
lint:lint-php7.3:
stage: lint
image: php:7.3
before_script:
- bash ci/docker_install-lint.sh > /dev/null
script:
- bash ci/phplint.sh ./
codesniffer:
stage: codesniffer
image: php:5.6
......
......@@ -19,7 +19,7 @@ class TestCore extends Core {
$this->setSite($loginData[1]);
$this->setUsername($loginData[2]);
$this->setPassword($loginData[3]);
$this->setTarget("w/api.php");
$this->setTarget("api.php");
$this->initcurlArgs('TestCore', true, "bot", true);
$this->login();
}
......
......@@ -80,7 +80,7 @@ final class BotCoreReadTest extends TestCase {
*/
public function testgetPageIDSuccessful() {
$Core = $this->createLogin();
$expected = "9";
$expected = "15";
$actually = $Core->execute(array("getPageID", "DummyPage"));
$this->assertEquals($expected, $actually);
}
......