diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-12-05 10:12:40 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-12-05 10:12:40 +0300 |
commit | 407a3dcfa98a639aaa5fe5733a98a3327e6bd749 (patch) | |
tree | ee9774cfaefdd16df68fd283df7b717f143887af /tests/Controller | |
parent | bfe1076e32dc82a1184a20f2fb884fa20adf3f74 (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.php | 4 |
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())); } } |