Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/firstrunwizard.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-12-05 10:12:40 +0300
committerJulius Härtl <jus@bitgrid.net>2019-12-05 10:12:40 +0300
commit407a3dcfa98a639aaa5fe5733a98a3327e6bd749 (patch)
treeee9774cfaefdd16df68fd283df7b717f143887af /tests/Controller
parentbfe1076e32dc82a1184a20f2fb884fa20adf3f74 (diff)
Fix tests and adjust to PHPUnit 8
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'tests/Controller')
-rw-r--r--tests/Controller/WizardControllerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Controller/WizardControllerTest.php b/tests/Controller/WizardControllerTest.php
index 4d7ffa25..d195fbc5 100644
--- a/tests/Controller/WizardControllerTest.php
+++ b/tests/Controller/WizardControllerTest.php
@@ -108,7 +108,7 @@ class WizardControllerTest extends TestCase {
$this->assertInstanceOf(JSONResponse::class, $response);
$this->assertSame(Http::STATUS_OK, $response->getStatus());
- $this->assertEquals(4, count($response->getData()));
+ $this->assertEquals(3, count($response->getData()));
}
public function testShowAdmin() {
@@ -130,6 +130,6 @@ class WizardControllerTest extends TestCase {
$this->assertInstanceOf(JSONResponse::class, $response);
$this->assertSame(Http::STATUS_OK, $response->getStatus());
- $this->assertEquals(5, count($response->getData()));
+ $this->assertEquals(4, count($response->getData()));
}
}