Skip to content

Commit 191c4e9

Browse files
authored
- removed/disabled providers that have neither a scheme nor discovery - they don't do anything (iamcal#680)
- enabled test for future providers
1 parent 29948f4 commit 191c4e9

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

test.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@
7575
# this test is currently disabled because three providers fail it.
7676
# i _believe_ they should be deleted, as they are of no use to consumers.
7777

78-
# if (!isset($endpoint['discovery']) || $endpoint['discovery'] === 0){
79-
# if (!isset($endpoint['schemes']) || !count($endpoint['schemes'])){
80-
# echo "Endpoint without schemes or discovery found in provider file providers/$file\n";
81-
# print_r($endpoint);
82-
# exit(1);
83-
# }
84-
# }
78+
if (!isset($endpoint['discovery']) || $endpoint['discovery'] === 0){
79+
if (!isset($endpoint['schemes']) || !count($endpoint['schemes'])){
80+
echo "Endpoint without schemes or discovery found in provider file providers/$file\n";
81+
print_r($endpoint);
82+
exit(1);
83+
}
84+
}
8585

8686
if (!isset($endpoint['url'])){
8787
echo "Endpoint without URL found in provider file providers/$file\n";

0 commit comments

Comments
 (0)