4Giedrius
db69400a94
Product module tests updated
2015-03-26 14:15:07 +02:00
4Giedrius
257dc0a7b9
Paidsupport module tests updated
2015-03-26 14:11:31 +02:00
4Giedrius
a2b4e6cc4d
Order tests updated
2015-03-26 14:10:09 +02:00
4Giedrius
1a323ed6b1
KB module tests updated
2015-03-26 14:08:23 +02:00
4Giedrius
8b097475fc
Invoice module tests updated
2015-03-26 14:00:02 +02:00
4Giedrius
91034b05c5
Formbuilder test updated
2015-03-26 13:09:59 +02:00
4Giedrius
dd952cb9e7
Hook test updated
2015-03-26 13:09:49 +02:00
4Giedrius
293ce61c29
Extension module tests updated
2015-03-26 13:06:34 +02:00
4Giedrius
ddd80631ee
Example modules tests updated
2015-03-26 13:04:38 +02:00
4Giedrius
cace1c7cdb
Client module tests fixed
2015-03-26 12:57:45 +02:00
4Giedrius
48c1857e9c
Activity module tests updated for array_get
2015-03-26 12:47:41 +02:00
Vaidas Lungis
a473073ba0
replace di['api_request_data'] with di['array_get']
2015-03-26 10:57:37 +02:00
4Giedrius
66f285a045
Added tests for $di['array_get']
2015-03-25 17:55:50 +02:00
Vaidas Lungis
82664f4358
improve testOrderExpiration_SettingFrom_greater_ExpireIsGreater test
2015-03-25 11:38:46 +02:00
4Giedrius
8f587debb2
SpamChecker module tests updated
2015-03-24 17:59:31 +02:00
Vaidas Lungis
8754fdab19
Finish api-request-data
...
Conflicts:
src/bb-modules/Api/Controller/Client.php
2015-03-24 17:01:28 +02:00
Vaidas Lungis
d3bf2f4285
refactor Servicehosting/Service::updateHp to decrease npath complexity
2015-03-24 16:09:10 +02:00
Vaidas Lungis
ca8dac72f4
refactor Client/Service::createClient to decrease npath complexity
2015-03-24 15:28:34 +02:00
Vaidas Lungis
a0498f0cdf
refactor Invoice/ServiceInvoiceItem::addNew to decrease npath complexity
2015-03-24 13:43:10 +02:00
Vaidas Lungis
5636f0848f
refactor Servicehosting/Service::createServer to decrease npath complexity
2015-03-24 13:36:41 +02:00
Vaidas Lungis
f87685baf7
refactor Servicehosting/Service::updateServer to decrease npath complexity
2015-03-24 13:30:53 +02:00
Vaidas Lungis
3766df064d
refactor Profile/Service::updateClient to decrease npath complexity
2015-03-24 13:19:56 +02:00
Vaidas Lungis
718a014b55
refactor Product/Service::createPromo to decrease npath complexity
2015-03-24 12:40:07 +02:00
Vaidas Lungis
0c926e7824
refactor Product/Service::updatePromo to decrease npath complexity
2015-03-24 12:20:01 +02:00
Vaidas Lungis
2808e26310
refactor Order\Service:activateOrder() to decrease npath complexity
2015-03-23 16:33:59 +02:00
Vaidas Lungis
caeef66961
refactor Order\Service:updateOrder() to decrease npath complexity
2015-03-23 16:06:29 +02:00
Vaidas Lungis
29bec44f57
refactor Invoice\Service:updateInvoice() to decrease npath complexity
2015-03-23 13:34:10 +02:00
Vaidas Lungis
6fdddccd93
Finish 4.15.8
...
update BoxBilling api.
2015-03-23 11:51:49 +02:00
Vaidas Lungis
9ce7cb75af
refactor Email\Api\Admin:send() to decrease npath complexity
2015-03-20 16:53:08 +02:00
Vaidas Lungis
b1ac6c5684
refactor Servicedomain\Api\Guest:tlds() to decrease npath complexity
2015-03-20 16:33:09 +02:00
Vaidas Lungis
229222ef83
refactor Currency\Api\Guest:format() to decrease npath complexity
2015-03-20 16:16:33 +02:00
Vaidas Lungis
a1ad4d5b59
refactor Currency\Api\Admin:create() to decrease npath complexity
2015-03-20 15:06:07 +02:00
Vaidas Lungis
9d83d4bc1f
refactor Client\Api\Guest:create() to decrease npath complexity
2015-03-20 14:35:35 +02:00
Vaidas Lungis
503d9d286b
refactor Client\Api\Client:update() to decrease npath complexity
2015-03-20 12:56:34 +02:00
Vaidas Lungis
5467375430
isset is not necessary as query will return array with needed array keys
2015-03-20 10:42:48 +02:00
Vaidas Lungis
aef2620bbb
update Box\Mod\Kb\Api\Guest test
2015-03-19 15:54:37 +02:00
Vaidas Lungis
afd10566f8
update Box\Mod\Kb\Api\Guest test
2015-03-19 15:54:02 +02:00
Vaidas Lungis
167f4edb61
Refactor Client\Admin\Api:update()
...
replace if statments with $di['api_request_data']
2015-03-19 15:49:25 +02:00
Vaidas Lungis
c172a80e3e
create Box\Mod\Api\Request class and add it to DI
...
Similar to Box_Request.
Purpose - use it when need to get param item from api call request.
Instead of
$c1 = isset($data['custom_1']) ? $data['custom_1'] : NULL ;
Use
$ci = $this->di['api_request_data']->get('custom_1' [, $defaultValue]);
This way we can reduce nPath complexity
2015-03-19 15:32:01 +02:00
Vaidas Lungis
f3c64472c5
hash cron user password
2015-03-18 16:42:40 +02:00
Vaidas Lungis
f5fcfd66df
refactor $app->getApiAdmin to $this->di['is_admin_logged'] or $this->di['api_admin']
...
getApiAdmin() is deprecated
2015-03-18 16:34:50 +02:00
Vaidas Lungis
998ffd04c7
refactor $app->getApiClient(); to $api = $this->di['api_client'] or $this->di['is_client_logged'];
...
getApiClient is deprecated
2015-03-18 14:31:44 +02:00
Vaidas Lungis
e4748de1c4
refactor $api = $app->getApiGuest(); to $api = $this->di['api_guest'];
...
getApiGuest is deprecated
2015-03-18 14:10:29 +02:00
Vaidas Lungis
ddfa2583d6
write tests for getSubscriptionFields, getOneTimePaymentFields, getInvoiceTitle
2015-03-17 15:18:48 +02:00
Vaidas Lungis
81d87b983a
fix invalid db find statement
...
create integration client remove test
2015-03-16 13:35:08 +02:00
Vaidas Lungis
48615ee39f
create test for deposit invoice "mark as paid" action
2015-03-16 10:03:35 +02:00
Vaidas Lungis
aa055419fe
create new payment adapter ClientBalance
2015-03-13 15:03:44 +02:00
Vaidas Lungis
2ecde5cd45
create isInvoiceDepositType()
2015-03-12 18:08:03 +02:00
Vaidas Lungis
425ec293e6
fix unit test Warning: Missing argument 1
2015-03-12 14:25:51 +02:00
Giedrius
486f5079b7
Added missing DI in integration tests
2015-03-12 10:13:25 +02:00