diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-09-19 10:04:14 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-09-19 10:04:14 +0300 |
commit | dea113c997594b4d1afb4857810c3f4c39a9979f (patch) | |
tree | fc6c668134c779605bfea1f9c4dbec7cae97ffe0 /lib | |
parent | ef0c80b84891ac82f53ea0176eacacd58c8eecde (diff) |
Add unit tests for the gateway state and factory classes
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Service/Gateway/State.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Service/Gateway/State.php b/lib/Service/Gateway/State.php index 00c4c22..43b42d4 100644 --- a/lib/Service/Gateway/State.php +++ b/lib/Service/Gateway/State.php @@ -52,11 +52,11 @@ class State { } public function isVerifying(): bool { - return $this->state === self::DISABLED; + return $this->state === self::VERIFYING; } public function isEnabled(): bool { - return $this->state === self::DISABLED; + return $this->state === self::ENABLED; } } |