summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Pugh2017-11-14 19:22:26 (GMT)
committerJon Pugh2017-11-14 19:22:26 (GMT)
commit7ced5d305064707fbb030d42f5f295a133eda757 (patch)
tree761023f7f7e74716d1fa6c14877deea6b1660991
parentba547cdf3d4e8f8ce2887cfbe12a7fdced9f534c (diff)
Comments on verification methods.
-rw-r--r--src/Context.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Context.php b/src/Context.php
index 94b3e26..5b594e3 100644
--- a/src/Context.php
+++ b/src/Context.php
@@ -480,9 +480,13 @@ class Context
}
else {
$this->application->io->section("Verify service: {$friendlyName} on {$service->provider->name}");
+
+ // First verify the service provider.
foreach ($service->verifyProvider() as $verify_part => $verify_success) {
$return_codes[] = $verify_success? 0: 1;
}
+
+ // Then run "verify" on the subscriptions.
foreach ($this->getSubscription($type)->verify() as $type => $verify_success) {
$return_codes[] = $verify_success? 0: 1;
}