Commit Graph

1912 Commits

Author SHA1 Message Date
marco
f6c0607033 Add unique index to subscriber email attribute. 2015-08-07 22:29:51 +02:00
marco
a6bc4f5d18 Fix test for Migrator. 2015-08-07 22:14:43 +02:00
marco
e2e5f94304 Fix inconsistency in tests when deleting a subscriber in the after filter. 2015-08-07 18:34:31 +02:00
marco
5d7cbf136d Final subscriber with ORM. 2015-08-07 18:30:31 +02:00
marco
4378d42274 First implementation of the Subscriber ORM Model. 2015-08-07 15:36:43 +02:00
marco
cffec78d38 Initialize the ORM in unit testing bootstrap. 2015-08-07 13:13:36 +02:00
marco
065afb9c61 Add db source name to Env. 2015-08-07 12:57:12 +02:00
marco
e24faf8b65 Public keyword is not needed. 2015-08-03 21:34:15 +02:00
marco
eee532c62a Add a global plugin prefix to the environment class. 2015-08-03 19:57:13 +02:00
marco
12418fe28d Rename test method. 2015-08-03 19:40:43 +02:00
marco
dc00abb0da Refactor Migrator to support functional sql generators. 2015-08-03 17:12:05 +02:00
marco
304bc9419e Remove generated tests from the repo.
Codeception creates a dynamic class to handle test helpers.
It shouldn't be on git.
2015-08-03 15:56:06 +02:00
marco
7b291ae594 Support tests. 2015-08-03 14:31:26 +02:00
Jonathan Labreuille
1456cd0a85 changed Twig syntax to Ruby style to avoid conflict with HBS templates + added missing files from makepot 2015-07-31 12:44:06 +02:00
marco
021192a4c5 Test helpers. 2015-07-30 22:02:36 +02:00
marco
8d4a2b6308 Merge branch 'master' of github.com:JoN1oP/namp2 2015-07-30 22:01:03 +02:00
Jonathan Labreuille
1ddd74e991 fixed symlinks of select2 and added missing images + added i18n functions to twig templates (with auto text domain addition) + added rtl stylesheet (updated robofile to watch it separately from admin.styl so it can be included only if necessary 2015-07-30 21:25:39 +02:00
marco
ba436ccc42 Migrator is now able to create real tables.
Because of how WordPress and the dbDelta function works, it's
basically impossile to test it with Unit testing.
We'll have to make sure we properly test this in acceptance testing.
2015-07-30 20:00:58 +02:00
marco
006a1015f0 Merge branch 'master' of github.com:JoN1oP/namp2 2015-07-30 15:32:56 +02:00
marco
47b874725b Add DB charset to Env. 2015-07-30 15:32:38 +02:00
Jonathan Labreuille
acc3854ba9 fixed conflict and removed test in initializer 2015-07-29 16:56:23 +02:00
Jonathan Labreuille
9e2df5c1d7 started migrating form editor + i18n added makepot with twig templates support 2015-07-29 16:54:06 +02:00
marco
8b9cc8c109 Add all WP db variable to the Env. 2015-07-29 16:35:10 +02:00
marco
8e0217674f Env class to hold all environment variables.
We are going to use this class to store all variables
that we would store with globals and defines.
It will be initialized in the initializer and we'll be
able to get any variable with static methods.
2015-07-29 16:23:50 +02:00
marco
ebe3c5547f First Migrator class and test. 2015-07-29 16:03:47 +02:00
marco
3c6239066a Support tests. 2015-07-29 15:38:40 +02:00
marco
d736420f3d Support tests. 2015-07-28 23:17:40 +02:00
Jonathan Labreuille
ffbc54ffb7 added loadEnv to unit test and removed bootstrap code + added basic acceptance test for form widget (had to increase the wait value oh web driver to bypass JS animations delay) 2015-07-28 11:40:31 +02:00
Jonathan Labreuille
8aea2675f2 added acceptance test for formwidget + added utility method to login into WP for acceptance tests + fixed unit test of form renderer 2015-07-27 18:12:47 +02:00
Jonathan Labreuille
2c73ab9c5f added WP env to unit tests - migrated form widget and form renderer + need orm to finish widget implementation as it relies on forms 2015-07-27 17:40:47 +02:00
Jonathan Labreuille
b563dd179b added MAILPOET_VERSION constant + tried to add tests for form render but need WP env in unit test 2015-07-27 12:27:46 +02:00
Jonathan Labreuille
95042d68e5 migrated form renderer with basic unit tests 2015-07-24 17:47:08 +02:00
Jonathan Labreuille
f58d5c42b6 removed try catch in Activation AccTest 2015-07-24 17:08:37 +02:00
Jonathan Labreuille
7a832ebddb fixing method name in HomePage acceptance test 2015-07-24 16:53:47 +02:00
Jonathan Labreuille
b10edea821 added user and password in dot env file + updated activation acceptance test - fixing issue #18 2015-07-24 16:52:58 +02:00
Jonathan Labreuille
07bf040bc3 fixed method name case on unit tests 2015-07-24 12:01:44 +02:00
Jonathan Labreuille
96fe85de3b Merge branch 'master' of github.com:JoN1oP/namp2 2015-07-24 11:53:28 +02:00
Jonathan Labreuille
e753a36acf - migrated Host Web & SMTP classes from MP3 (with unit tests)
- added dependencies in relation to issue #13 (still ongoing)
2015-07-24 11:51:32 +02:00
marco
100e785705 Fix camelCase. 2015-07-23 13:56:45 +02:00
marco
98cfbf02b2 Fix camelCase. 2015-07-23 13:55:49 +02:00
marco
1e7ae9d55d Fix camelCase. 2015-07-23 13:54:22 +02:00
marco
d92eb2b6e1 Fix camelCase. 2015-07-23 13:54:06 +02:00
marco
93cb71468d Fix camelCase for methods. 2015-07-23 13:53:31 +02:00
marco
391e29e7f3 Replaced settings tests with stubbed WP class.
Settings classes must be merged.
2015-07-23 12:58:41 +02:00
marco
ad68ed4f05 Settings class and stubbed WP class in tests. 2015-07-23 12:56:28 +02:00
Jonathan Labreuille
080fcfc0f8 Merge branch 'master' of github.com:JoN1oP/namp2 2015-07-23 12:06:20 +02:00
Jonathan Labreuille
d3ec721eae updated Settings class and added unit tests 2015-07-23 12:06:10 +02:00
marco
104fe02687 Revert activation logic in tests. 2015-07-22 18:03:05 +02:00
marco
a133a766f7 Avoid polluting the git history with CodeCeption config. 2015-07-22 14:32:28 +02:00
Jonathan Labreuille
3a572a99ff - renamed DKIM class method to camelCase and updated unit test - re-added acceptance suite yml file to the repo and updated gitignore 2015-07-22 11:42:17 +02:00