@@ -70,13 +70,13 @@ |
||
70 | 70 | ); |
71 | 71 | } |
72 | 72 | |
73 | - /** |
|
74 | - * Checking credentials |
|
75 | - * |
|
76 | - * @param struct $master_password |
|
77 | - * |
|
78 | - * @return boolean |
|
79 | - */ |
|
73 | + /** |
|
74 | + * Checking credentials |
|
75 | + * |
|
76 | + * @param struct $master_password |
|
77 | + * |
|
78 | + * @return boolean |
|
79 | + */ |
|
80 | 80 | private function checkMasterpassword($master_password) |
81 | 81 | { |
82 | 82 | if ($master_password != 'abcdefghijklmnopqrstuvwxyz123456789#') { |
@@ -34,13 +34,13 @@ |
||
34 | 34 | $HTTP_RAW_POST_DATA = file_get_contents('php://input'); |
35 | 35 | |
36 | 36 | k() |
37 | - ->setIdentityLoader(new MyIdentityLoader()) |
|
38 | - // Use container for wiring of components |
|
39 | - // ->setComponentCreator(new k_InjectorAdapter(create_container())) |
|
40 | - // Enable file logging |
|
41 | - //->setLog(dirname(__FILE__) . '/../log/debug.log') |
|
42 | - // Uncomment the next line to enable in-browser debugging |
|
43 | - //->setDebug() |
|
44 | - // Dispatch request |
|
45 | - ->run('Intraface_XMLRPC_Controller') |
|
46 | - ->out(); |
|
37 | + ->setIdentityLoader(new MyIdentityLoader()) |
|
38 | + // Use container for wiring of components |
|
39 | + // ->setComponentCreator(new k_InjectorAdapter(create_container())) |
|
40 | + // Enable file logging |
|
41 | + //->setLog(dirname(__FILE__) . '/../log/debug.log') |
|
42 | + // Uncomment the next line to enable in-browser debugging |
|
43 | + //->setDebug() |
|
44 | + // Dispatch request |
|
45 | + ->run('Intraface_XMLRPC_Controller') |
|
46 | + ->out(); |
@@ -165,7 +165,7 @@ |
||
165 | 165 | |
166 | 166 | $this->assertTrue($basket->removeEvaluationProducts()); |
167 | 167 | |
168 | - $this->assertEquals(count($basket->getItems()), 0); |
|
168 | + $this->assertEquals(count($basket->getItems()), 0); |
|
169 | 169 | } |
170 | 170 | |
171 | 171 | function testSaveCustomerEan() |
@@ -214,7 +214,7 @@ |
||
214 | 214 | |
215 | 215 | $this->assertTrue($basket->removeEvaluationProducts()); |
216 | 216 | |
217 | - $this->assertEquals(count($basket->getItems()), 0); |
|
217 | + $this->assertEquals(count($basket->getItems()), 0); |
|
218 | 218 | } |
219 | 219 | |
220 | 220 | function testSaveCustomerEan() |