42 Commits

Author SHA1 Message Date
Marc Ducobu
b85f3e396c Refactoring : removing useless line return 2015-03-05 19:19:22 +01:00
Marc Ducobu
0051a73a26 Good test doc + more effective test 2015-03-05 19:18:24 +01:00
Marc Ducobu
821454493b Refactoring : adding doc + date in DateTime constructor 2015-03-05 19:09:32 +01:00
Marc Ducobu
d12f5ee77f Improving license header 2015-03-05 18:12:31 +01:00
008cb5b216 fix refreshing person problem
the entity "person" wasn't managed any more by the ORM, for an unknow reason.
2015-03-05 15:45:26 +01:00
e2e89d433f add test for timeline/accompnying period 2015-02-27 17:42:01 +01:00
Marc Ducobu
caffa5b30f Better test 2015-02-26 18:55:21 +01:00
Marc Ducobu
dcd951b90a License improving 2015-02-26 12:09:17 +01:00
4585980ca8 fix copyright statement 2015-02-22 21:50:13 +01:00
Marc Ducobu
b8bc875513 Adding Test for person export 2015-02-19 15:20:06 +01:00
Marc Ducobu
a2dafa01dc Adding license 2015-02-19 11:31:01 +01:00
Marc Ducobu
0157c3c9ba Changing comments : history -> accompanying period 2015-02-12 16:40:38 +01:00
Marc Ducobu
9ea23987a3 PersonHistoryFile -> AccompanyingPeriod - refs #275 - debug 2015-02-06 14:38:29 +01:00
Marc Ducobu
090f91e19a resolving conflict 2015-02-06 11:26:09 +01:00
Marc Ducobu
8d5d2189f1 PersonHistoryFile -> AccompanyingPeriod - refs #275 2015-02-06 11:19:36 +01:00
9fadc5d9c5 passing last value on closing motive by reference
refs #411
2015-02-05 14:35:22 +01:00
69042c683f add tests for closing/opening accompanying periods
refs #274

check :

- closing the current period works
- closing a period with date closing AFTER the opening fails
- creating a new period works
- create a period with closing after current (opened) period fails => fails see refs #410
- create a period with opening and closing after current (opened) period fails => fails see refs #410
- create a period with end date between another fails
- create a period with end date after opening date fails
- create a period between another period (date closing and date opening) fails
- create a period with date opening inside another period fails
2015-02-03 15:22:38 +01:00
7ebaafe768 create first tests for accompanying period manipulation
[ci skip]
2015-02-03 10:03:36 +01:00
aa8d211e55 add test for choose languages
fix #409
2015-01-30 18:14:27 +01:00
72182a8c77 move utilities at the end of the file 2015-01-30 18:02:09 +01:00
0a1ff9e141 complete tests for person edition
close #405

add a test on false date, but this made the validation fail.
2015-01-29 18:42:42 +01:00
d6822520d2 add doctrine migration to CI from person bundle
refs #402
2015-01-29 16:54:25 +01:00
14ca56ce25 fix config to test app 2015-01-28 20:52:56 +01:00
5992977a3e test person's edit form
update the controller to get the validation
2015-01-27 22:17:39 +01:00
2c22d45e2f load chill routes using route loader in tests 2015-01-23 11:57:11 +01:00
ff3b521998 Enable unaccent in search
- Add unaccent function to queries
- Adapt tests accordingly

refs #377
2015-01-04 21:56:36 +01:00
e02a10fdfa add person search functionality
create test to match refs #377 and adapt fixtures for tests
implement search in person bundle
2015-01-04 01:59:49 +01:00
f1765591b4 include assetic files in local fixture 2014-12-24 00:54:48 +01:00
1f2c8bdb72 fix person creation validation close #369 2014-12-09 22:53:24 +01:00
10da02f9ba fix last test 2014-12-07 23:15:48 +01:00
cfc881096c go on with test on page "add a person"
the tests definition are defined by https://redmine.champs-libres.coop/projects/chillperson/wiki/Test_plan_for_page_%22add_a_person%22
2014-12-07 23:09:04 +01:00
07615192c6 first test for "add a person" page
(to be continued)
2014-12-07 00:19:50 +01:00
567ebb41ab bootstrap local app for tests 2014-12-07 00:15:35 +01:00
ff3479983e add doctrine/doctrine-fixtures-bundle in bundle depedencies 2014-11-25 22:33:39 +01:00
4dbd72fedd register chillmain in the framework used in tests
This should fix travis tests
2014-11-25 22:25:19 +01:00
6045578bb2 add locale for test environment (temp) refs #331 2014-11-25 15:34:11 +01:00
ec689f4a3f add app fixture 2014-11-08 00:51:19 +01:00
29ee79c645 create first tests on history file 2014-11-08 00:40:00 +01:00
f7d24ae520 automatic regexp to move namespace CL\Chill => Chill 2014-11-07 10:01:20 +01:00
377a69d26f deal with opening/closing the files 2013-11-26 23:00:30 +01:00
03091a94d6 view one person + list 2013-10-31 16:14:20 +01:00
17b4f22136 initial structure of the bundle 2013-10-26 11:52:46 +02:00