@@ -13,8 +13,8 @@ discard block |
||
13 | 13 | Route4Me::setApiKey('11111111111111111111111111111111'); |
14 | 14 | |
15 | 15 | $AdressBookLocationParameters = AddressBookLocation::fromArray(array( |
16 | - "first_name" => "Test FirstName ".strval(rand(10000,99999)), |
|
17 | - "address_1" => "Test Address1 ".strval(rand(10000,99999)), |
|
16 | + "first_name" => "Test FirstName ".strval(rand(10000, 99999)), |
|
17 | + "address_1" => "Test Address1 ".strval(rand(10000, 99999)), |
|
18 | 18 | "cached_lat" => 38.024654, |
19 | 19 | "cached_lng" => -77.338814 |
20 | 20 | )); |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | $address_id = $abcResult["address_id"]; |
32 | 32 | } |
33 | 33 | |
34 | -assert($address_id != -1, "Cannot create an address book location. <br><br>"); |
|
34 | +assert($address_id!=-1, "Cannot create an address book location. <br><br>"); |
|
35 | 35 | |
36 | 36 | echo "Address Book Location with <b>address_id = ".strval($address_id)."</b> and <b>first_name = ".$abcResult['first_name']."</b> was successfully added<br>"; |
37 | 37 | |
@@ -41,6 +41,6 @@ discard block |
||
41 | 41 | |
42 | 42 | assert(isset($abcResult['first_name']), "Cannot update the address book location. <br><br>"); |
43 | 43 | |
44 | -assert($abcResult['first_name'] == 'Test Firstname Updated', "Cannot update the address book location. <br><br>"); |
|
44 | +assert($abcResult['first_name']=='Test Firstname Updated', "Cannot update the address book location. <br><br>"); |
|
45 | 45 | |
46 | 46 | echo "The field <b>first_name</b> in the address book location <b>".$address_id."</b> was update to <b>Test Firstname Updated</b> successfuly <br>"; |
@@ -14,8 +14,8 @@ discard block |
||
14 | 14 | Route4Me::setApiKey('11111111111111111111111111111111'); |
15 | 15 | |
16 | 16 | $AdressBookLocationParameters = AddressBookLocation::fromArray(array( |
17 | - "first_name" => "Test FirstName ".strval(rand(10000,99999)), |
|
18 | - "address_1" => "Test Address1 ".strval(rand(10000,99999)), |
|
17 | + "first_name" => "Test FirstName ".strval(rand(10000, 99999)), |
|
18 | + "address_1" => "Test Address1 ".strval(rand(10000, 99999)), |
|
19 | 19 | "cached_lat" => 38.024654, |
20 | 20 | "cached_lng" => -77.338814 |
21 | 21 | )); |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | $address_id = $createdContact["address_id"]; |
31 | 31 | } |
32 | 32 | |
33 | -assert($address_id != -1, "Creating of Address Book Location was failed. Try again!.. <br>"); |
|
33 | +assert($address_id!=-1, "Creating of Address Book Location was failed. Try again!.. <br>"); |
|
34 | 34 | |
35 | 35 | echo "Address Book Location with address_id = ".strval($address_id)." was successfully added<br>"; |
36 | 36 |