Skip to content

Commit d6d6e1e

Browse files
committed
fix typo and removed redundant line
1 parent 1e8bc6d commit d6d6e1e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Resources/config/commands.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services:
99
fuzzyma.command.contao.database.addAdmin:
1010
class: Fuzzyma\Contao\DatabaseCommandsBundle\Command\DatabaseAddAdminCommand
1111
lazy: true
12-
arguments: ["@contao.framework", "@contao.install_tool", "%locale"]
12+
arguments: ["@contao.framework", "@contao.install_tool", "%locale%"]
1313
tags:
1414
- { name: console.command }
1515

Tests/Command/DatabaseAddAdminCommandTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public function testFailsWithoutUserTable()
3131
$tester->execute([]);
3232

3333
$this->assertContains('Error: tl_user does not exist', $tester->getDisplay());
34-
$this->expectException(RuntimeException::class);
3534
}
3635

3736
public function testFailsIfAdminUserAlreadyPresentAndUserEntersNo()

0 commit comments

Comments
 (0)