src/Admin/Tests/CliTest.php
Method testVhost
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testVhost()
{
// Create an account
$this->assertTrue($this->getAdminCmd()->addArg('account:create')->addArg('test')->execute());
Method testDomain
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testDomain()
{
// Create an account
$this->assertTrue($this->getAdminCmd()->addArg('account:create')->addArg('test')->execute());
Method testAccount
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testAccount()
{
// Create an account
$this->assertTrue($this->getAdminCmd()->addArg('account:create')->addArg('test')->execute());
$this->assertEquals(1, $this->getConnection()->getRowCount('account'));