Skip to content

Commit 878b82a

Browse files
author
Andreas Frömer
committed
Clean code
1 parent 39db7d4 commit 878b82a

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

tests/SystemCtlTest.php

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@ private function buildSystemCtlMock($output)
4646
public function testListUnitsWithAvailableUnits()
4747
{
4848
$output = <<<EOT
49-
proc-sys-fs-binfmt_misc.timer loaded active mounted Arbitrary Executable File Formats File System
50-
run-rpc_pipefs.mount loaded active mounted /run/rpc_pipefs
51-
sys-fs-fuse-connections.mount loaded active mounted FUSE Control File System
52-
sys-kernel-debug.mount loaded active mounted Debug File System
53-
acpid.path loaded active running ACPI Events Check
54-
systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Console Directory Wa
55-
systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
56-
acpid.service loaded active running ACPI event daemon
57-
beanstalkd.service loaded active running Simple, fast work queue
58-
console-setup.service loaded active exited LSB: Set console font and keymap
59-
cron.service loaded active running Regular background program processing daemon
49+
proc-sys-fs-binfmt_misc.timer loaded active mounted
50+
run-rpc_pipefs.mount loaded active mounted
51+
sys-fs-fuse-connections.mount loaded active mounted
52+
sys-kernel-debug.mount loaded active mounted
53+
acpid.path loaded active running
54+
systemd-ask-password-console.path loaded active waiting
55+
systemd-ask-password-wall.path loaded active waiting
56+
acpid.service loaded active running
57+
beanstalkd.service loaded active running
58+
console-setup.service loaded active exited
59+
cron.service loaded active running
6060
EOT;
6161
$systemctl = $this->buildSystemCtlMock($output);
6262
$units = $systemctl->listUnits(SystemCtl::AVAILABLE_UNITS);
@@ -66,17 +66,17 @@ public function testListUnitsWithAvailableUnits()
6666
public function testListUnitsWithSupportedUnits()
6767
{
6868
$output = <<<EOT
69-
proc-sys-fs-binfmt_misc.timer loaded active mounted Arbitrary Executable File Formats File System
70-
run-rpc_pipefs.mount loaded active mounted /run/rpc_pipefs
71-
sys-fs-fuse-connections.mount loaded active mounted FUSE Control File System
72-
sys-kernel-debug.mount loaded active mounted Debug File System
73-
acpid.path loaded active running ACPI Events Check
74-
systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Console Directory Wa
75-
systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
76-
acpid.service loaded active running ACPI event daemon
77-
beanstalkd.service loaded active running Simple, fast work queue
78-
console-setup.service loaded active exited LSB: Set console font and keymap
79-
cron.service loaded active running Regular background program processing daemon
69+
proc-sys-fs-binfmt_misc.timer loaded active mounted
70+
run-rpc_pipefs.mount loaded active mounted
71+
sys-fs-fuse-connections.mount loaded active mounted
72+
sys-kernel-debug.mount loaded active mounted
73+
acpid.path loaded active running
74+
systemd-ask-password-console.path loaded active waiting
75+
systemd-ask-password-wall.path loaded active waiting
76+
acpid.service loaded active running
77+
beanstalkd.service loaded active running
78+
console-setup.service loaded active exited
79+
cron.service loaded active running
8080
EOT;
8181
$systemctl = $this->buildSystemCtlMock($output);
8282
$units = $systemctl->listUnits();

0 commit comments

Comments
 (0)