@@ -4,9 +4,9 @@ |
||
| 4 | 4 | |
| 5 | 5 | $cpl = new \Detain\Cpanel\Cpanel("", ""); |
| 6 | 6 | $response = $cpl->registerAuth(array( |
| 7 | - "user" => $_SERVER['argv'][1], |
|
| 8 | - "pickup" => "__PHRASE__", |
|
| 9 | - "service" => "__SERVICE__")); |
|
| 7 | + "user" => $_SERVER['argv'][1], |
|
| 8 | + "pickup" => "__PHRASE__", |
|
| 9 | + "service" => "__SERVICE__")); |
|
| 10 | 10 | |
| 11 | 11 | echo $response; |
| 12 | 12 | |
@@ -7,17 +7,17 @@ |
||
| 7 | 7 | $status = $cpl->fetchLicenseRaw(array("ip" => $ip)); |
| 8 | 8 | print_r($status); |
| 9 | 9 | if (isset($status['@attributes'])) { |
| 10 | - print "The license id for the ip is: " . $status["@attributes"]["licenseid"] . "\n"; |
|
| 11 | - print "The status of the license is: "; |
|
| 12 | - if ($status["@attributes"]["valid"] > 0) { |
|
| 13 | - print "Active"; |
|
| 14 | - } else { |
|
| 15 | - print "Inactive"; |
|
| 16 | - } |
|
| 17 | - print "\n"; |
|
| 18 | - print "The company holding the license is: " . $status["@attributes"]["company"] . |
|
| 19 | - "\n"; |
|
| 10 | + print "The license id for the ip is: " . $status["@attributes"]["licenseid"] . "\n"; |
|
| 11 | + print "The status of the license is: "; |
|
| 12 | + if ($status["@attributes"]["valid"] > 0) { |
|
| 13 | + print "Active"; |
|
| 14 | + } else { |
|
| 15 | + print "Inactive"; |
|
| 16 | + } |
|
| 17 | + print "\n"; |
|
| 18 | + print "The company holding the license is: " . $status["@attributes"]["company"] . |
|
| 19 | + "\n"; |
|
| 20 | 20 | } else { |
| 21 | - print "The status of the license is: Not Licensed\n"; |
|
| 21 | + print "The status of the license is: Not Licensed\n"; |
|
| 22 | 22 | } |
| 23 | 23 | |
@@ -4,253 +4,253 @@ |
||
| 4 | 4 | |
| 5 | 5 | class CpanelTest extends TestCase { |
| 6 | 6 | |
| 7 | - /** |
|
| 8 | - * @var Cpanel |
|
| 9 | - */ |
|
| 10 | - protected $object; |
|
| 7 | + /** |
|
| 8 | + * @var Cpanel |
|
| 9 | + */ |
|
| 10 | + protected $object; |
|
| 11 | 11 | |
| 12 | - /** |
|
| 13 | - * Sets up the fixture, for example, opens a network connection. |
|
| 14 | - * This method is called before a test is executed. |
|
| 15 | - */ |
|
| 16 | - protected function setUp() |
|
| 17 | - { |
|
| 18 | - $this->object = new Cpanel; |
|
| 19 | - } |
|
| 12 | + /** |
|
| 13 | + * Sets up the fixture, for example, opens a network connection. |
|
| 14 | + * This method is called before a test is executed. |
|
| 15 | + */ |
|
| 16 | + protected function setUp() |
|
| 17 | + { |
|
| 18 | + $this->object = new Cpanel; |
|
| 19 | + } |
|
| 20 | 20 | |
| 21 | - /** |
|
| 22 | - * Tears down the fixture, for example, closes a network connection. |
|
| 23 | - * This method is called after a test is executed. |
|
| 24 | - */ |
|
| 25 | - protected function tearDown() |
|
| 26 | - { |
|
| 27 | - } |
|
| 21 | + /** |
|
| 22 | + * Tears down the fixture, for example, closes a network connection. |
|
| 23 | + * This method is called after a test is executed. |
|
| 24 | + */ |
|
| 25 | + protected function tearDown() |
|
| 26 | + { |
|
| 27 | + } |
|
| 28 | 28 | |
| 29 | - /** |
|
| 30 | - * @covers Detain\Cpanel\Cpanel::setopt |
|
| 31 | - * @todo Implement testSetopt(). |
|
| 32 | - */ |
|
| 33 | - public function testSetopt() |
|
| 34 | - { |
|
| 35 | - // Remove the following lines when you implement this test. |
|
| 36 | - $this->markTestIncomplete( |
|
| 37 | - 'This test has not been implemented yet.' |
|
| 38 | - ); |
|
| 39 | - } |
|
| 29 | + /** |
|
| 30 | + * @covers Detain\Cpanel\Cpanel::setopt |
|
| 31 | + * @todo Implement testSetopt(). |
|
| 32 | + */ |
|
| 33 | + public function testSetopt() |
|
| 34 | + { |
|
| 35 | + // Remove the following lines when you implement this test. |
|
| 36 | + $this->markTestIncomplete( |
|
| 37 | + 'This test has not been implemented yet.' |
|
| 38 | + ); |
|
| 39 | + } |
|
| 40 | 40 | |
| 41 | - /** |
|
| 42 | - * @covers Detain\Cpanel\Cpanel::setCredentials |
|
| 43 | - * @todo Implement testSetCredentials(). |
|
| 44 | - */ |
|
| 45 | - public function testSetCredentials() |
|
| 46 | - { |
|
| 47 | - // Remove the following lines when you implement this test. |
|
| 48 | - $this->markTestIncomplete( |
|
| 49 | - 'This test has not been implemented yet.' |
|
| 50 | - ); |
|
| 51 | - } |
|
| 41 | + /** |
|
| 42 | + * @covers Detain\Cpanel\Cpanel::setCredentials |
|
| 43 | + * @todo Implement testSetCredentials(). |
|
| 44 | + */ |
|
| 45 | + public function testSetCredentials() |
|
| 46 | + { |
|
| 47 | + // Remove the following lines when you implement this test. |
|
| 48 | + $this->markTestIncomplete( |
|
| 49 | + 'This test has not been implemented yet.' |
|
| 50 | + ); |
|
| 51 | + } |
|
| 52 | 52 | |
| 53 | - /** |
|
| 54 | - * @covers Detain\Cpanel\Cpanel::set_format |
|
| 55 | - * @todo Implement testSet_format(). |
|
| 56 | - */ |
|
| 57 | - public function testSet_format() |
|
| 58 | - { |
|
| 59 | - // Remove the following lines when you implement this test. |
|
| 60 | - $this->markTestIncomplete( |
|
| 61 | - 'This test has not been implemented yet.' |
|
| 62 | - ); |
|
| 63 | - } |
|
| 53 | + /** |
|
| 54 | + * @covers Detain\Cpanel\Cpanel::set_format |
|
| 55 | + * @todo Implement testSet_format(). |
|
| 56 | + */ |
|
| 57 | + public function testSet_format() |
|
| 58 | + { |
|
| 59 | + // Remove the following lines when you implement this test. |
|
| 60 | + $this->markTestIncomplete( |
|
| 61 | + 'This test has not been implemented yet.' |
|
| 62 | + ); |
|
| 63 | + } |
|
| 64 | 64 | |
| 65 | - /** |
|
| 66 | - * @covers Detain\Cpanel\Cpanel::reactivateLicense |
|
| 67 | - * @todo Implement testReactivateLicense(). |
|
| 68 | - */ |
|
| 69 | - public function testReactivateLicense() |
|
| 70 | - { |
|
| 71 | - // Remove the following lines when you implement this test. |
|
| 72 | - $this->markTestIncomplete( |
|
| 73 | - 'This test has not been implemented yet.' |
|
| 74 | - ); |
|
| 75 | - } |
|
| 65 | + /** |
|
| 66 | + * @covers Detain\Cpanel\Cpanel::reactivateLicense |
|
| 67 | + * @todo Implement testReactivateLicense(). |
|
| 68 | + */ |
|
| 69 | + public function testReactivateLicense() |
|
| 70 | + { |
|
| 71 | + // Remove the following lines when you implement this test. |
|
| 72 | + $this->markTestIncomplete( |
|
| 73 | + 'This test has not been implemented yet.' |
|
| 74 | + ); |
|
| 75 | + } |
|
| 76 | 76 | |
| 77 | - /** |
|
| 78 | - * @covers Detain\Cpanel\Cpanel::expireLicense |
|
| 79 | - * @todo Implement testExpireLicense(). |
|
| 80 | - */ |
|
| 81 | - public function testExpireLicense() |
|
| 82 | - { |
|
| 83 | - // Remove the following lines when you implement this test. |
|
| 84 | - $this->markTestIncomplete( |
|
| 85 | - 'This test has not been implemented yet.' |
|
| 86 | - ); |
|
| 87 | - } |
|
| 77 | + /** |
|
| 78 | + * @covers Detain\Cpanel\Cpanel::expireLicense |
|
| 79 | + * @todo Implement testExpireLicense(). |
|
| 80 | + */ |
|
| 81 | + public function testExpireLicense() |
|
| 82 | + { |
|
| 83 | + // Remove the following lines when you implement this test. |
|
| 84 | + $this->markTestIncomplete( |
|
| 85 | + 'This test has not been implemented yet.' |
|
| 86 | + ); |
|
| 87 | + } |
|
| 88 | 88 | |
| 89 | - /** |
|
| 90 | - * @covers Detain\Cpanel\Cpanel::extendOnetimeUpdates |
|
| 91 | - * @todo Implement testExtendOnetimeUpdates(). |
|
| 92 | - */ |
|
| 93 | - public function testExtendOnetimeUpdates() |
|
| 94 | - { |
|
| 95 | - // Remove the following lines when you implement this test. |
|
| 96 | - $this->markTestIncomplete( |
|
| 97 | - 'This test has not been implemented yet.' |
|
| 98 | - ); |
|
| 99 | - } |
|
| 89 | + /** |
|
| 90 | + * @covers Detain\Cpanel\Cpanel::extendOnetimeUpdates |
|
| 91 | + * @todo Implement testExtendOnetimeUpdates(). |
|
| 92 | + */ |
|
| 93 | + public function testExtendOnetimeUpdates() |
|
| 94 | + { |
|
| 95 | + // Remove the following lines when you implement this test. |
|
| 96 | + $this->markTestIncomplete( |
|
| 97 | + 'This test has not been implemented yet.' |
|
| 98 | + ); |
|
| 99 | + } |
|
| 100 | 100 | |
| 101 | - /** |
|
| 102 | - * @covers Detain\Cpanel\Cpanel::changeip |
|
| 103 | - * @todo Implement testChangeip(). |
|
| 104 | - */ |
|
| 105 | - public function testChangeip() |
|
| 106 | - { |
|
| 107 | - // Remove the following lines when you implement this test. |
|
| 108 | - $this->markTestIncomplete( |
|
| 109 | - 'This test has not been implemented yet.' |
|
| 110 | - ); |
|
| 111 | - } |
|
| 101 | + /** |
|
| 102 | + * @covers Detain\Cpanel\Cpanel::changeip |
|
| 103 | + * @todo Implement testChangeip(). |
|
| 104 | + */ |
|
| 105 | + public function testChangeip() |
|
| 106 | + { |
|
| 107 | + // Remove the following lines when you implement this test. |
|
| 108 | + $this->markTestIncomplete( |
|
| 109 | + 'This test has not been implemented yet.' |
|
| 110 | + ); |
|
| 111 | + } |
|
| 112 | 112 | |
| 113 | - /** |
|
| 114 | - * @covers Detain\Cpanel\Cpanel::requestTransfer |
|
| 115 | - * @todo Implement testRequestTransfer(). |
|
| 116 | - */ |
|
| 117 | - public function testRequestTransfer() |
|
| 118 | - { |
|
| 119 | - // Remove the following lines when you implement this test. |
|
| 120 | - $this->markTestIncomplete( |
|
| 121 | - 'This test has not been implemented yet.' |
|
| 122 | - ); |
|
| 123 | - } |
|
| 113 | + /** |
|
| 114 | + * @covers Detain\Cpanel\Cpanel::requestTransfer |
|
| 115 | + * @todo Implement testRequestTransfer(). |
|
| 116 | + */ |
|
| 117 | + public function testRequestTransfer() |
|
| 118 | + { |
|
| 119 | + // Remove the following lines when you implement this test. |
|
| 120 | + $this->markTestIncomplete( |
|
| 121 | + 'This test has not been implemented yet.' |
|
| 122 | + ); |
|
| 123 | + } |
|
| 124 | 124 | |
| 125 | - /** |
|
| 126 | - * @covers Detain\Cpanel\Cpanel::activateLicense |
|
| 127 | - * @todo Implement testActivateLicense(). |
|
| 128 | - */ |
|
| 129 | - public function testActivateLicense() |
|
| 130 | - { |
|
| 131 | - // Remove the following lines when you implement this test. |
|
| 132 | - $this->markTestIncomplete( |
|
| 133 | - 'This test has not been implemented yet.' |
|
| 134 | - ); |
|
| 135 | - } |
|
| 125 | + /** |
|
| 126 | + * @covers Detain\Cpanel\Cpanel::activateLicense |
|
| 127 | + * @todo Implement testActivateLicense(). |
|
| 128 | + */ |
|
| 129 | + public function testActivateLicense() |
|
| 130 | + { |
|
| 131 | + // Remove the following lines when you implement this test. |
|
| 132 | + $this->markTestIncomplete( |
|
| 133 | + 'This test has not been implemented yet.' |
|
| 134 | + ); |
|
| 135 | + } |
|
| 136 | 136 | |
| 137 | - /** |
|
| 138 | - * @covers Detain\Cpanel\Cpanel::addPickupPass |
|
| 139 | - * @todo Implement testAddPickupPass(). |
|
| 140 | - */ |
|
| 141 | - public function testAddPickupPass() |
|
| 142 | - { |
|
| 143 | - // Remove the following lines when you implement this test. |
|
| 144 | - $this->markTestIncomplete( |
|
| 145 | - 'This test has not been implemented yet.' |
|
| 146 | - ); |
|
| 147 | - } |
|
| 137 | + /** |
|
| 138 | + * @covers Detain\Cpanel\Cpanel::addPickupPass |
|
| 139 | + * @todo Implement testAddPickupPass(). |
|
| 140 | + */ |
|
| 141 | + public function testAddPickupPass() |
|
| 142 | + { |
|
| 143 | + // Remove the following lines when you implement this test. |
|
| 144 | + $this->markTestIncomplete( |
|
| 145 | + 'This test has not been implemented yet.' |
|
| 146 | + ); |
|
| 147 | + } |
|
| 148 | 148 | |
| 149 | - /** |
|
| 150 | - * @covers Detain\Cpanel\Cpanel::registerAuth |
|
| 151 | - * @todo Implement testRegisterAuth(). |
|
| 152 | - */ |
|
| 153 | - public function testRegisterAuth() |
|
| 154 | - { |
|
| 155 | - // Remove the following lines when you implement this test. |
|
| 156 | - $this->markTestIncomplete( |
|
| 157 | - 'This test has not been implemented yet.' |
|
| 158 | - ); |
|
| 159 | - } |
|
| 149 | + /** |
|
| 150 | + * @covers Detain\Cpanel\Cpanel::registerAuth |
|
| 151 | + * @todo Implement testRegisterAuth(). |
|
| 152 | + */ |
|
| 153 | + public function testRegisterAuth() |
|
| 154 | + { |
|
| 155 | + // Remove the following lines when you implement this test. |
|
| 156 | + $this->markTestIncomplete( |
|
| 157 | + 'This test has not been implemented yet.' |
|
| 158 | + ); |
|
| 159 | + } |
|
| 160 | 160 | |
| 161 | - /** |
|
| 162 | - * @covers Detain\Cpanel\Cpanel::fetchGroups |
|
| 163 | - * @todo Implement testFetchGroups(). |
|
| 164 | - */ |
|
| 165 | - public function testFetchGroups() |
|
| 166 | - { |
|
| 167 | - // Remove the following lines when you implement this test. |
|
| 168 | - $this->markTestIncomplete( |
|
| 169 | - 'This test has not been implemented yet.' |
|
| 170 | - ); |
|
| 171 | - } |
|
| 161 | + /** |
|
| 162 | + * @covers Detain\Cpanel\Cpanel::fetchGroups |
|
| 163 | + * @todo Implement testFetchGroups(). |
|
| 164 | + */ |
|
| 165 | + public function testFetchGroups() |
|
| 166 | + { |
|
| 167 | + // Remove the following lines when you implement this test. |
|
| 168 | + $this->markTestIncomplete( |
|
| 169 | + 'This test has not been implemented yet.' |
|
| 170 | + ); |
|
| 171 | + } |
|
| 172 | 172 | |
| 173 | - /** |
|
| 174 | - * @covers Detain\Cpanel\Cpanel::fetchLicenseRiskData |
|
| 175 | - * @todo Implement testFetchLicenseRiskData(). |
|
| 176 | - */ |
|
| 177 | - public function testFetchLicenseRiskData() |
|
| 178 | - { |
|
| 179 | - // Remove the following lines when you implement this test. |
|
| 180 | - $this->markTestIncomplete( |
|
| 181 | - 'This test has not been implemented yet.' |
|
| 182 | - ); |
|
| 183 | - } |
|
| 173 | + /** |
|
| 174 | + * @covers Detain\Cpanel\Cpanel::fetchLicenseRiskData |
|
| 175 | + * @todo Implement testFetchLicenseRiskData(). |
|
| 176 | + */ |
|
| 177 | + public function testFetchLicenseRiskData() |
|
| 178 | + { |
|
| 179 | + // Remove the following lines when you implement this test. |
|
| 180 | + $this->markTestIncomplete( |
|
| 181 | + 'This test has not been implemented yet.' |
|
| 182 | + ); |
|
| 183 | + } |
|
| 184 | 184 | |
| 185 | - /** |
|
| 186 | - * @covers Detain\Cpanel\Cpanel::fetchLicenseRaw |
|
| 187 | - * @todo Implement testFetchLicenseRaw(). |
|
| 188 | - */ |
|
| 189 | - public function testFetchLicenseRaw() |
|
| 190 | - { |
|
| 191 | - // Remove the following lines when you implement this test. |
|
| 192 | - $this->markTestIncomplete( |
|
| 193 | - 'This test has not been implemented yet.' |
|
| 194 | - ); |
|
| 195 | - } |
|
| 185 | + /** |
|
| 186 | + * @covers Detain\Cpanel\Cpanel::fetchLicenseRaw |
|
| 187 | + * @todo Implement testFetchLicenseRaw(). |
|
| 188 | + */ |
|
| 189 | + public function testFetchLicenseRaw() |
|
| 190 | + { |
|
| 191 | + // Remove the following lines when you implement this test. |
|
| 192 | + $this->markTestIncomplete( |
|
| 193 | + 'This test has not been implemented yet.' |
|
| 194 | + ); |
|
| 195 | + } |
|
| 196 | 196 | |
| 197 | - /** |
|
| 198 | - * @covers Detain\Cpanel\Cpanel::fetchLicenseId |
|
| 199 | - * @todo Implement testFetchLicenseId(). |
|
| 200 | - */ |
|
| 201 | - public function testFetchLicenseId() |
|
| 202 | - { |
|
| 203 | - // Remove the following lines when you implement this test. |
|
| 204 | - $this->markTestIncomplete( |
|
| 205 | - 'This test has not been implemented yet.' |
|
| 206 | - ); |
|
| 207 | - } |
|
| 197 | + /** |
|
| 198 | + * @covers Detain\Cpanel\Cpanel::fetchLicenseId |
|
| 199 | + * @todo Implement testFetchLicenseId(). |
|
| 200 | + */ |
|
| 201 | + public function testFetchLicenseId() |
|
| 202 | + { |
|
| 203 | + // Remove the following lines when you implement this test. |
|
| 204 | + $this->markTestIncomplete( |
|
| 205 | + 'This test has not been implemented yet.' |
|
| 206 | + ); |
|
| 207 | + } |
|
| 208 | 208 | |
| 209 | - /** |
|
| 210 | - * @covers Detain\Cpanel\Cpanel::fetchPackages |
|
| 211 | - * @todo Implement testFetchPackages(). |
|
| 212 | - */ |
|
| 213 | - public function testFetchPackages() |
|
| 214 | - { |
|
| 215 | - // Remove the following lines when you implement this test. |
|
| 216 | - $this->markTestIncomplete( |
|
| 217 | - 'This test has not been implemented yet.' |
|
| 218 | - ); |
|
| 219 | - } |
|
| 209 | + /** |
|
| 210 | + * @covers Detain\Cpanel\Cpanel::fetchPackages |
|
| 211 | + * @todo Implement testFetchPackages(). |
|
| 212 | + */ |
|
| 213 | + public function testFetchPackages() |
|
| 214 | + { |
|
| 215 | + // Remove the following lines when you implement this test. |
|
| 216 | + $this->markTestIncomplete( |
|
| 217 | + 'This test has not been implemented yet.' |
|
| 218 | + ); |
|
| 219 | + } |
|
| 220 | 220 | |
| 221 | - /** |
|
| 222 | - * @covers Detain\Cpanel\Cpanel::fetchLicenses |
|
| 223 | - * @todo Implement testFetchLicenses(). |
|
| 224 | - */ |
|
| 225 | - public function testFetchLicenses() |
|
| 226 | - { |
|
| 227 | - // Remove the following lines when you implement this test. |
|
| 228 | - $this->markTestIncomplete( |
|
| 229 | - 'This test has not been implemented yet.' |
|
| 230 | - ); |
|
| 231 | - } |
|
| 221 | + /** |
|
| 222 | + * @covers Detain\Cpanel\Cpanel::fetchLicenses |
|
| 223 | + * @todo Implement testFetchLicenses(). |
|
| 224 | + */ |
|
| 225 | + public function testFetchLicenses() |
|
| 226 | + { |
|
| 227 | + // Remove the following lines when you implement this test. |
|
| 228 | + $this->markTestIncomplete( |
|
| 229 | + 'This test has not been implemented yet.' |
|
| 230 | + ); |
|
| 231 | + } |
|
| 232 | 232 | |
| 233 | - /** |
|
| 234 | - * @covers Detain\Cpanel\Cpanel::fetchExpiredLicenses |
|
| 235 | - * @todo Implement testFetchExpiredLicenses(). |
|
| 236 | - */ |
|
| 237 | - public function testFetchExpiredLicenses() |
|
| 238 | - { |
|
| 239 | - // Remove the following lines when you implement this test. |
|
| 240 | - $this->markTestIncomplete( |
|
| 241 | - 'This test has not been implemented yet.' |
|
| 242 | - ); |
|
| 243 | - } |
|
| 233 | + /** |
|
| 234 | + * @covers Detain\Cpanel\Cpanel::fetchExpiredLicenses |
|
| 235 | + * @todo Implement testFetchExpiredLicenses(). |
|
| 236 | + */ |
|
| 237 | + public function testFetchExpiredLicenses() |
|
| 238 | + { |
|
| 239 | + // Remove the following lines when you implement this test. |
|
| 240 | + $this->markTestIncomplete( |
|
| 241 | + 'This test has not been implemented yet.' |
|
| 242 | + ); |
|
| 243 | + } |
|
| 244 | 244 | |
| 245 | - /** |
|
| 246 | - * @covers Detain\Cpanel\Cpanel::findKey |
|
| 247 | - * @todo Implement testFindKey(). |
|
| 248 | - */ |
|
| 249 | - public function testFindKey() |
|
| 250 | - { |
|
| 251 | - // Remove the following lines when you implement this test. |
|
| 252 | - $this->markTestIncomplete( |
|
| 253 | - 'This test has not been implemented yet.' |
|
| 254 | - ); |
|
| 255 | - } |
|
| 245 | + /** |
|
| 246 | + * @covers Detain\Cpanel\Cpanel::findKey |
|
| 247 | + * @todo Implement testFindKey(). |
|
| 248 | + */ |
|
| 249 | + public function testFindKey() |
|
| 250 | + { |
|
| 251 | + // Remove the following lines when you implement this test. |
|
| 252 | + $this->markTestIncomplete( |
|
| 253 | + 'This test has not been implemented yet.' |
|
| 254 | + ); |
|
| 255 | + } |
|
| 256 | 256 | } |
@@ -13,8 +13,7 @@ discard block |
||
| 13 | 13 | * Sets up the fixture, for example, opens a network connection. |
| 14 | 14 | * This method is called before a test is executed. |
| 15 | 15 | */ |
| 16 | - protected function setUp() |
|
| 17 | - { |
|
| 16 | + protected function setUp() { |
|
| 18 | 17 | $this->object = new Cpanel; |
| 19 | 18 | } |
| 20 | 19 | |
@@ -22,16 +21,14 @@ discard block |
||
| 22 | 21 | * Tears down the fixture, for example, closes a network connection. |
| 23 | 22 | * This method is called after a test is executed. |
| 24 | 23 | */ |
| 25 | - protected function tearDown() |
|
| 26 | - { |
|
| 24 | + protected function tearDown() { |
|
| 27 | 25 | } |
| 28 | 26 | |
| 29 | 27 | /** |
| 30 | 28 | * @covers Detain\Cpanel\Cpanel::setopt |
| 31 | 29 | * @todo Implement testSetopt(). |
| 32 | 30 | */ |
| 33 | - public function testSetopt() |
|
| 34 | - { |
|
| 31 | + public function testSetopt() { |
|
| 35 | 32 | // Remove the following lines when you implement this test. |
| 36 | 33 | $this->markTestIncomplete( |
| 37 | 34 | 'This test has not been implemented yet.' |
@@ -42,8 +39,7 @@ discard block |
||
| 42 | 39 | * @covers Detain\Cpanel\Cpanel::setCredentials |
| 43 | 40 | * @todo Implement testSetCredentials(). |
| 44 | 41 | */ |
| 45 | - public function testSetCredentials() |
|
| 46 | - { |
|
| 42 | + public function testSetCredentials() { |
|
| 47 | 43 | // Remove the following lines when you implement this test. |
| 48 | 44 | $this->markTestIncomplete( |
| 49 | 45 | 'This test has not been implemented yet.' |
@@ -54,8 +50,7 @@ discard block |
||
| 54 | 50 | * @covers Detain\Cpanel\Cpanel::set_format |
| 55 | 51 | * @todo Implement testSet_format(). |
| 56 | 52 | */ |
| 57 | - public function testSet_format() |
|
| 58 | - { |
|
| 53 | + public function testSet_format() { |
|
| 59 | 54 | // Remove the following lines when you implement this test. |
| 60 | 55 | $this->markTestIncomplete( |
| 61 | 56 | 'This test has not been implemented yet.' |
@@ -66,8 +61,7 @@ discard block |
||
| 66 | 61 | * @covers Detain\Cpanel\Cpanel::reactivateLicense |
| 67 | 62 | * @todo Implement testReactivateLicense(). |
| 68 | 63 | */ |
| 69 | - public function testReactivateLicense() |
|
| 70 | - { |
|
| 64 | + public function testReactivateLicense() { |
|
| 71 | 65 | // Remove the following lines when you implement this test. |
| 72 | 66 | $this->markTestIncomplete( |
| 73 | 67 | 'This test has not been implemented yet.' |
@@ -78,8 +72,7 @@ discard block |
||
| 78 | 72 | * @covers Detain\Cpanel\Cpanel::expireLicense |
| 79 | 73 | * @todo Implement testExpireLicense(). |
| 80 | 74 | */ |
| 81 | - public function testExpireLicense() |
|
| 82 | - { |
|
| 75 | + public function testExpireLicense() { |
|
| 83 | 76 | // Remove the following lines when you implement this test. |
| 84 | 77 | $this->markTestIncomplete( |
| 85 | 78 | 'This test has not been implemented yet.' |
@@ -90,8 +83,7 @@ discard block |
||
| 90 | 83 | * @covers Detain\Cpanel\Cpanel::extendOnetimeUpdates |
| 91 | 84 | * @todo Implement testExtendOnetimeUpdates(). |
| 92 | 85 | */ |
| 93 | - public function testExtendOnetimeUpdates() |
|
| 94 | - { |
|
| 86 | + public function testExtendOnetimeUpdates() { |
|
| 95 | 87 | // Remove the following lines when you implement this test. |
| 96 | 88 | $this->markTestIncomplete( |
| 97 | 89 | 'This test has not been implemented yet.' |
@@ -102,8 +94,7 @@ discard block |
||
| 102 | 94 | * @covers Detain\Cpanel\Cpanel::changeip |
| 103 | 95 | * @todo Implement testChangeip(). |
| 104 | 96 | */ |
| 105 | - public function testChangeip() |
|
| 106 | - { |
|
| 97 | + public function testChangeip() { |
|
| 107 | 98 | // Remove the following lines when you implement this test. |
| 108 | 99 | $this->markTestIncomplete( |
| 109 | 100 | 'This test has not been implemented yet.' |
@@ -114,8 +105,7 @@ discard block |
||
| 114 | 105 | * @covers Detain\Cpanel\Cpanel::requestTransfer |
| 115 | 106 | * @todo Implement testRequestTransfer(). |
| 116 | 107 | */ |
| 117 | - public function testRequestTransfer() |
|
| 118 | - { |
|
| 108 | + public function testRequestTransfer() { |
|
| 119 | 109 | // Remove the following lines when you implement this test. |
| 120 | 110 | $this->markTestIncomplete( |
| 121 | 111 | 'This test has not been implemented yet.' |
@@ -126,8 +116,7 @@ discard block |
||
| 126 | 116 | * @covers Detain\Cpanel\Cpanel::activateLicense |
| 127 | 117 | * @todo Implement testActivateLicense(). |
| 128 | 118 | */ |
| 129 | - public function testActivateLicense() |
|
| 130 | - { |
|
| 119 | + public function testActivateLicense() { |
|
| 131 | 120 | // Remove the following lines when you implement this test. |
| 132 | 121 | $this->markTestIncomplete( |
| 133 | 122 | 'This test has not been implemented yet.' |
@@ -138,8 +127,7 @@ discard block |
||
| 138 | 127 | * @covers Detain\Cpanel\Cpanel::addPickupPass |
| 139 | 128 | * @todo Implement testAddPickupPass(). |
| 140 | 129 | */ |
| 141 | - public function testAddPickupPass() |
|
| 142 | - { |
|
| 130 | + public function testAddPickupPass() { |
|
| 143 | 131 | // Remove the following lines when you implement this test. |
| 144 | 132 | $this->markTestIncomplete( |
| 145 | 133 | 'This test has not been implemented yet.' |
@@ -150,8 +138,7 @@ discard block |
||
| 150 | 138 | * @covers Detain\Cpanel\Cpanel::registerAuth |
| 151 | 139 | * @todo Implement testRegisterAuth(). |
| 152 | 140 | */ |
| 153 | - public function testRegisterAuth() |
|
| 154 | - { |
|
| 141 | + public function testRegisterAuth() { |
|
| 155 | 142 | // Remove the following lines when you implement this test. |
| 156 | 143 | $this->markTestIncomplete( |
| 157 | 144 | 'This test has not been implemented yet.' |
@@ -162,8 +149,7 @@ discard block |
||
| 162 | 149 | * @covers Detain\Cpanel\Cpanel::fetchGroups |
| 163 | 150 | * @todo Implement testFetchGroups(). |
| 164 | 151 | */ |
| 165 | - public function testFetchGroups() |
|
| 166 | - { |
|
| 152 | + public function testFetchGroups() { |
|
| 167 | 153 | // Remove the following lines when you implement this test. |
| 168 | 154 | $this->markTestIncomplete( |
| 169 | 155 | 'This test has not been implemented yet.' |
@@ -174,8 +160,7 @@ discard block |
||
| 174 | 160 | * @covers Detain\Cpanel\Cpanel::fetchLicenseRiskData |
| 175 | 161 | * @todo Implement testFetchLicenseRiskData(). |
| 176 | 162 | */ |
| 177 | - public function testFetchLicenseRiskData() |
|
| 178 | - { |
|
| 163 | + public function testFetchLicenseRiskData() { |
|
| 179 | 164 | // Remove the following lines when you implement this test. |
| 180 | 165 | $this->markTestIncomplete( |
| 181 | 166 | 'This test has not been implemented yet.' |
@@ -186,8 +171,7 @@ discard block |
||
| 186 | 171 | * @covers Detain\Cpanel\Cpanel::fetchLicenseRaw |
| 187 | 172 | * @todo Implement testFetchLicenseRaw(). |
| 188 | 173 | */ |
| 189 | - public function testFetchLicenseRaw() |
|
| 190 | - { |
|
| 174 | + public function testFetchLicenseRaw() { |
|
| 191 | 175 | // Remove the following lines when you implement this test. |
| 192 | 176 | $this->markTestIncomplete( |
| 193 | 177 | 'This test has not been implemented yet.' |
@@ -198,8 +182,7 @@ discard block |
||
| 198 | 182 | * @covers Detain\Cpanel\Cpanel::fetchLicenseId |
| 199 | 183 | * @todo Implement testFetchLicenseId(). |
| 200 | 184 | */ |
| 201 | - public function testFetchLicenseId() |
|
| 202 | - { |
|
| 185 | + public function testFetchLicenseId() { |
|
| 203 | 186 | // Remove the following lines when you implement this test. |
| 204 | 187 | $this->markTestIncomplete( |
| 205 | 188 | 'This test has not been implemented yet.' |
@@ -210,8 +193,7 @@ discard block |
||
| 210 | 193 | * @covers Detain\Cpanel\Cpanel::fetchPackages |
| 211 | 194 | * @todo Implement testFetchPackages(). |
| 212 | 195 | */ |
| 213 | - public function testFetchPackages() |
|
| 214 | - { |
|
| 196 | + public function testFetchPackages() { |
|
| 215 | 197 | // Remove the following lines when you implement this test. |
| 216 | 198 | $this->markTestIncomplete( |
| 217 | 199 | 'This test has not been implemented yet.' |
@@ -222,8 +204,7 @@ discard block |
||
| 222 | 204 | * @covers Detain\Cpanel\Cpanel::fetchLicenses |
| 223 | 205 | * @todo Implement testFetchLicenses(). |
| 224 | 206 | */ |
| 225 | - public function testFetchLicenses() |
|
| 226 | - { |
|
| 207 | + public function testFetchLicenses() { |
|
| 227 | 208 | // Remove the following lines when you implement this test. |
| 228 | 209 | $this->markTestIncomplete( |
| 229 | 210 | 'This test has not been implemented yet.' |
@@ -234,8 +215,7 @@ discard block |
||
| 234 | 215 | * @covers Detain\Cpanel\Cpanel::fetchExpiredLicenses |
| 235 | 216 | * @todo Implement testFetchExpiredLicenses(). |
| 236 | 217 | */ |
| 237 | - public function testFetchExpiredLicenses() |
|
| 238 | - { |
|
| 218 | + public function testFetchExpiredLicenses() { |
|
| 239 | 219 | // Remove the following lines when you implement this test. |
| 240 | 220 | $this->markTestIncomplete( |
| 241 | 221 | 'This test has not been implemented yet.' |
@@ -246,8 +226,7 @@ discard block |
||
| 246 | 226 | * @covers Detain\Cpanel\Cpanel::findKey |
| 247 | 227 | * @todo Implement testFindKey(). |
| 248 | 228 | */ |
| 249 | - public function testFindKey() |
|
| 250 | - { |
|
| 229 | + public function testFindKey() { |
|
| 251 | 230 | // Remove the following lines when you implement this test. |
| 252 | 231 | $this->markTestIncomplete( |
| 253 | 232 | 'This test has not been implemented yet.' |