forked from ringcentral/ringcentral-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
34 lines (27 loc) · 840 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
print "Test 1: authData.php\n";
require(__DIR__ . '/demo/authData.php');
print "Test 2: errorHandling.php\n";
require(__DIR__ . '/demo/errorHandling.php');
print "Test 3: extensions.php\n";
require(__DIR__ . '/demo/extensions.php');
if (!$argv || !in_array('skipSMS', $argv)) {
print "Test 4: sms.php\n";
require(__DIR__ . '/demo/sms.php');
} else {
print "Test 4: sms.php - skipping...\n";
}
if (!$argv || !in_array('skipMMS', $argv)) {
print "Test 5: mms.php\n";
require(__DIR__ . '/demo/mms.php');
} else {
print "Test 5: mms.php - skipping...\n";
}
if (!$argv || !in_array('skipRingOut', $argv)) {
print "Test 6: ringout.php\n";
require(__DIR__ . '/demo/ringout.php');
} else {
print "Test 6: ringout.php - skipping...\n";
}
print "Test 7: subscription.php\n";
require(__DIR__ . '/demo/subscription.php');