b80683a9a1
Fix unit tests for PHPUnit v6
...
Codeception from version 2.3 up comes with PHPUnit v6 which changed
__construct behaviour. Our tests have to call parent __constructor in
order to work. The error was:
[PHPUnit\Framework\Exception] array_merge(): Argument #1 is not an array
2017-06-07 11:32:33 +01:00
099db4e1c8
Removes unused variable
...
Fixes typo in error message
2017-06-05 11:59:13 -04:00
7f566fb672
Adds client-side check for invalid characters in email addresses
...
Adds server-side validation of email addresses using WP's is_email()
2017-06-04 18:48:11 -04:00
e3b8c1836b
Adds additional new and existing subscribers to the test method to
...
ensure that data between new subscribers does not mix
2017-04-13 15:57:04 -04:00
a4b091dc32
Extends test condition to check for all new subscriber column data
2017-04-13 10:50:36 -04:00
bee9bfcfcc
Fix data being mixed up when splitting subscribers, remove excessive arguments [MAILPOET-828]
2017-04-13 11:08:20 +03:00
b7d73dcfaa
Updates unit test
2017-04-12 09:49:42 -04:00
89ff93958f
Removes subscriber object modification logic from the splitSubscribersData() method
...
Uses 2 separate objects with its own data for existing and new subscribers
Extends only new subscribers' object when it is missing required fields
2017-04-10 21:41:21 -04:00
b9f7a5673f
Removes lefover test code
2017-04-10 11:32:38 -04:00
3a9c006cf9
Prevents overwriting existing subscribers' status (and other required fields) unless
...
the import object contains data for those fields
2017-04-09 22:04:56 -04:00
249824b83c
- Updates unit test
2016-11-30 10:54:07 -05:00
9a0bb52860
- Fixes subscribers not being added to list(s) upon import
2016-11-29 15:28:56 -05:00
c658778476
Merge pull request #723 from mailpoet/bounced_subscribers
...
Add 'Bounced' status to subscribers [MAILPOET-684]
2016-11-29 12:47:41 +02:00
36b935b9ae
Add 'Bounced' status to subscribers [MAILPOET-684]
...
Fix SubscriberTest->testItHasGroupFilter() making only one of four assertions due to lack of data.
Fix a small issue with Import. Unexpected values for the status field were converted to 'unconfirmed' rather than 'subscribed' due to non-strict comparison in in_array(). This hindered 'bounced' status import as well.
2016-11-28 19:37:47 +03:00
71fbc1a7b0
- Simplifies code that prepares subscriber custom field data for
...
creation/update
- Updates tests
2016-11-27 20:53:20 -05:00
0c8cc27ea2
- Updates MailChimp API key regex
2016-11-22 12:44:58 -05:00
7c61fa2c81
- Fixes an issue where a subscriber with the same email but different case
...
variant is not considered unique
- Fixes an issue where an object of existing subscribers would not have
the same number of data in each child array due to null values being
removed
- Updates unit tests
2016-11-21 21:53:43 -05:00
1285252a8c
- Adds unit tests
2016-10-17 20:27:58 -04:00
9197e39fb4
- Restricts MailChimp API key to specific format
...
- Updates unit test
2016-10-16 11:57:56 -04:00
289811a595
Updated Import & MailChimp tests
2016-08-17 13:32:29 +02:00
81c277ca93
- Update import to autodetect dates (UI) and convert them to datetime
...
format (backend)
- Fixes unit test
- Fixes code formatting in Date class
2016-08-12 00:29:57 -04:00
f47c331a5b
updated db schema and fixed unit test missing Segment cleanup after
2016-05-27 15:38:24 +02:00
3c46a5b434
Optimized Bulk actions
...
- Updated SQL schema for every created_at column so that it has a default value
- Updated unit tests based on recent changes (new methods in SubscriberSegment model)
- Added check for HelpScout initialization code so that it doesn't throw errors
2016-05-27 14:15:46 +02:00
23682011af
- Prevents WP user's first/last name to be updated during import
...
- Resets "next step" button state when going to step 3 of import
- Closes #469
2016-05-11 14:44:29 -04:00
a9b9e9c631
Updated tests in order to fix WP related issues
2016-03-18 14:30:59 +01:00
8dbb6ab79f
- Updates based on code review comments
2016-02-22 11:54:31 -05:00
499936e3ab
- Removes file size limit in import
...
- Implements chunked import processing
- Updates tests/migrator/Subscriber model
2016-02-20 18:55:34 -05:00
6f176f4e6c
- Updates MailChimp unit test
2016-02-11 10:34:24 -05:00
b26380fd10
- Updates MailChimp class and unit test
2016-02-09 10:03:29 -05:00
c43d2f240d
- Updates MailChimp test and .env.sample
2016-02-05 09:35:32 -05:00
24cb614adb
- Enables conditional bypassing of unit tests
2016-02-04 18:41:18 -05:00
6a9313107c
- Fixes unit test
2016-01-21 12:21:22 -05:00
0c73c0fadc
- Resolves issues identified by @rafaehlers during testing
2016-01-07 22:47:59 -05:00
7d95b38dc4
- Renames/refactors Import and Export classes/views/JS
...
- Updates Import and Export to ignore trashed subscribers
- Updates tests
Closes #245
2015-11-26 20:48:19 -05:00
aa93c7349f
- Rebases master
...
- Adds tests for all Export class methods
Closes #221
2015-11-18 22:14:48 -05:00
e3de3a123a
- Corrects exported subscriber count
...
- Properly exports subscribers not in any list
- Adds test for export class constructor method
Resolves #221
2015-11-18 14:42:27 -05:00
c96ac06423
- Moves ImportExport under Subscribers namespace
...
- Updates tests
2015-11-13 12:46:54 -05:00