Commit Graph
79 Commits
Author SHA1 Message Date
samapraku 8a1718c606 Upgrade tests to PHPUnit 9 2020-08-18 21:12:03 +02:00
Vaidas Lungis 282ec40399 update Invoice doBatchPaidInvoiceActivation()
optimize for cron
2015-05-22 14:35:24 +03:00
Vaidas Lungis 5785d55d59 create test case for second domain product restriction.
related c6d1cc3728
2015-04-27 13:34:52 +03:00
Vaidas Lungis a87fdfdbfe calculate correct domain product starting price value.
Default product_payment  table record created after setup of new domain product.
2015-04-27 13:34:08 +03:00
Vaidas Lungis 1be4c40cb6 change MySql reserved words in table columns
Table mod_email_queue column "from"
Table mod_email_queue column "to"
Table queue  column "mod'
2015-04-20 13:45:28 +03:00
Vaidas Lungis 2b165891aa update tests after checkRequiredParamsForArray() refactor
[ci skip]
2015-03-30 12:44:49 +03:00
4Giedrius 3743ea64a2 $di['array_get'] default return value changed to null 2015-03-26 15:50:49 +02:00
4Giedrius dca4b89576 Integration tests updated 2015-03-26 15:36:28 +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
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 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
Giedrius 486f5079b7 Added missing DI in integration tests 2015-03-12 10:13:25 +02:00
Vaidas Lungis 72e80f8c0a update invoice onAfterAdminCronRun hook content
remove_after_days setting is set in settings table.
2015-03-09 10:56:06 +02:00
Vaidas Lungis 8611bd997e create tests from order settings Expiration date 2015-03-06 14:43:53 +02:00
Vaidas Lungis a6622c693d 4.15.5
update payment adapters

Conflicts:
	tests/fixtures/mod_invoice.xml
	tests/fixtures/transactions.xml
2015-03-04 18:08:53 +02:00
Vaidas Lungis ee487e2d49 add paypal duplicate transaction check 2015-03-04 17:17:57 +02:00
4Giedrius ccb3ac3b0e Removed testbecomePartner_Exception() method in tests due to cURL error it was causing 2015-03-04 12:31:52 +02:00
Vaidas Lungis 31ba57b407 Deposit invoice should be marked as paid and do not charge for it after transaction received 2015-03-04 12:05:12 +02:00
Vaidas Lungis 05ca95bc90 4.15.2
paidsupport module updates:
 - ticket price and error message configuration fields are required;
 - Set default values after extension install;
 - Delete extension config after uninstall;
 - Helpdesk must be selected to activate paid support.
 issue #271
2015-02-23 12:11:18 +02:00
Vaidas Lungis c6306ea759 helpdesk must be selected to apply paid support. 2015-02-23 10:55:55 +02:00
Vaidas Lungis 4fc32c3a06 Finish compatibility-MySQL-5.6
MySQL 5.6 versions default sql_mode value is STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION

Conflicts:
	CHANGELOG.md
2015-02-19 17:38:14 +02:00
4Giedrius 630335ff1e Integration tests added for updating tax rules 2015-02-18 16:26:43 +02:00
Vaidas Lungis 675393c891 Finish 4.14.6
fix public ticket staff issue
2015-02-18 10:16:50 +02:00
Vaidas Lungis 21acd9edcd runCrons() must use api_system instead of api_admin
issue with running cron via cron job
2015-02-17 09:31:13 +02:00
Vaidas Lungis c8abd00a3c add configuration to select helpdesk for paid support module 2015-02-13 13:55:54 +02:00
Raul Rodriguez 3fb3d32292 fix admin API currency_get() method return 2015-02-12 17:10:10 +01:00
Vaidas Lungis 5119de6bda create PaidSupport module 2015-02-12 09:30:58 +02:00
4Giedrius 04991ecb31 Finish 4.14.4 2015-02-10 14:22:24 +02:00
4Giedrius 5ea2e57b6c Updated tests to match latest code changes 2015-02-10 14:20:45 +02:00
Vaidas Lungis 39491eed55 Merge branch 'hotfix/4.14.3' into feature/vagrant-updateMySQL-5.6 2015-02-09 10:29:32 +02:00
4Giedrius be4fc7d944 Change date('c') to date('Y-m-d H:m:s') to match strict DATETIME format of MySQL 2015-02-06 16:39:28 +02:00
Vaidas Lungis 018f1ffdbf Finish 4.14.2
updated SpamChecker module
translation initiation updates
2015-02-06 10:51:53 +02:00
Vaidas Lungis 81810838fe updated spamchecker module
issue ##248
2015-02-06 10:41:11 +02:00
Vaidas Lungis 62c41a2b87 add testRenderDate
checks if given date converts to locale date format in template
2015-02-04 11:17:12 +02:00
Vaidas Lungis 9612b6cd82 cover invoice if client has enought money in balance and activate orders in checkout 2015-01-27 16:40:51 +02:00
Vaidas Lungis 9eafbfd167 do not activate addon order while master order is not paid 2015-01-27 14:36:53 +02:00
Vaidas Lungis 6daa231085 REVERT do not activate order addon while invoice is not paid
(reverted from commit 47dff4160e)
2015-01-27 11:35:54 +02:00
Vaidas Lungis 47dff4160e do not activate order addon while invoice is not paid 2015-01-27 10:10:34 +02:00
Vaidas Lungis d9061bd3f9 increase test fixture's group_id values.
old values were mixing with mysql's incremental initial value of table
2015-01-26 17:52:12 +02:00
4Giedrius c16a2cc95c Invoice Due date test changed to check date only 2015-01-16 09:36:35 +02:00
Vaidas Lungis a57d9f7092 reworked translation implementation
translation object added into DI
issue #207
2015-01-15 18:26:30 +02:00
4Giedrius 3e3295bdc5 WebMoney tests updated 2015-01-14 15:01:11 +02:00
4Giedrius d5c3e1bb68 Webmoney fixes 2015-01-14 14:49:06 +02:00
4Giedrius caa484e28e Spelling errors fix 2015-01-12 13:08:38 +02:00
Vaidas Lungis 1f41faef8e update integration test 2015-01-09 16:17:42 +02:00
4Giedrius a2b7c423e8 Invoice due date tests added 2015-01-07 11:15:37 +02:00
Vaidas Lungis 886a65878a Finish 4.12.2 2015-01-05 14:18:05 +02:00