Commit 1cf34e71 authored by Luke081515's avatar Luke081515

Update unit tests to new enviorment

parent a6ec31d9
Pipeline #2775 failed with stages
in 3 minutes and 50 seconds
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment