Belle Aerni
ea30d5b160
Validate Emails Addresses & Other Security Tweaks( #385 )
...
* Use generatePassword rather than a shortened hash
* Tweak how cron credentials are created
* Use the standard PHP function to validate emails
* Validate and sanitize emails
* Fix typos
* Use idn_to_ascii when validating emails
* Only use idn_to_ascii when validating the email
* Fix tests
* More text fixing
* We should only have one more failure now
* sighs
* Disable that since it's failing for no reason
2022-10-25 02:09:33 -07:00
Yağızhan
8ea355a8e8
Write tests for the new events
2022-07-21 10:29:14 +03:00
samapraku
8a1718c606
Upgrade tests to PHPUnit 9
2020-08-18 21:12:03 +02:00
4Giedrius
cadd1b3a3f
All tests should cleanup using tearDown() function. It results in 20-30% speed up.
...
http://kriswallsmith.net/post/18029585104/faster-phpunit
2015-05-26 12:40:35 +03:00
4Giedrius
d920147d3a
Tests updated to match latest changes
2015-04-08 17:58:10 +03:00
Vaidas Lungis
2b165891aa
update tests after checkRequiredParamsForArray() refactor
...
[ci skip]
2015-03-30 12:44:49 +03:00
4Giedrius
7e5a6eaeaa
Tests updated to match latest changes
2015-03-27 11:12:25 +02:00
Vaidas Lungis
9e6eb0cf83
implement di['array_get'] in more places
2015-03-26 17:39:29 +02:00
4Giedrius
c41938bf22
Test updated to match latest changes
2015-03-26 17:12:37 +02:00
4Giedrius
3743ea64a2
$di['array_get'] default return value changed to null
2015-03-26 15:50:49 +02:00
Vaidas Lungis
a473073ba0
replace di['api_request_data'] with di['array_get']
2015-03-26 10:57:37 +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
167f4edb61
Refactor Client\Admin\Api:update()
...
replace if statments with $di['api_request_data']
2015-03-19 15:49:25 +02:00
4Giedrius
d1a4afcbb1
PHPUnit tests added
2014-12-01 11:57:46 +02:00
Vaidas Lungis
a19fb36866
unit tests updated
2014-11-13 17:49:14 +02:00
fordnox
5af4cc20d9
Initial release
2014-11-03 09:00:47 +02:00