Commit graph

38 commits

Author SHA1 Message Date
Toni Uebernickel 7ab2b44b23 convert Faker datetime into string
This fixes #221.

Faker returns a \DateTime object, but the YAML format requires a string.
2016-01-24 12:10:37 +01:00
Toni Uebernickel 32196a6c08 use correct ParseException 2016-01-24 11:58:59 +01:00
Toni Uebernickel 4db28b7bbd introduce Propel\Bundle\PropelBundle namespace 2016-01-23 21:41:17 +01:00
Toni Uebernickel 8d60937f84 Merge pull request #256 from pimpreneil/1.2
Add inheritance support for fixtures with many to many relationship
2014-01-07 07:46:07 +01:00
Toni Uebernickel 675e711dd3 add support for delegated fixtures in 1:1 relation 2013-04-08 17:14:36 +02:00
William DURAND d6e4ed86d2 use PropelColumnTypes instead of hardcoded values 2013-02-16 01:57:35 +01:00
William DURAND a758f32421 Fix CS 2013-01-11 18:57:24 +01:00
jaugustin eb87d37d7b fix load fixture array in an object field 2012-12-22 17:33:56 +01:00
Jonathan Petitcolas 7f5d1ea0db Also remove ancestors data when removing former fixtures (refs #198) 2012-12-10 14:48:39 +01:00
Jonathan Petitcolas 7733e98aa7 Allow to specify a child object in YAML fixtures to fill a relationship based on parent class (refs #195) 2012-11-28 18:16:56 +01:00
Adel 4219e706d4 RUN PHP-CS PSR-2 2012-07-19 17:40:35 +01:00
Toni Uebernickel 90a597771e recursively merge fixtures 2012-07-02 21:27:21 +02:00
William DURAND 6970913db9 Fixed CS 2012-05-24 16:36:46 +02:00
William DURAND f675e3982e [DataFixtures] [Loader] Pass current connection to associate objects 2012-05-21 17:43:59 +02:00
William DURAND ca45e9c5cf Added faker support 2012-05-08 18:32:32 +02:00
William DURAND 2e7bb13431 [DataFixtures] Fixed N-N relations 2012-05-06 19:37:48 +02:00
Jeremie Augustin 5998eca0e5 fix CS 2012-05-04 14:18:20 +02:00
Jeremie Augustin 55b5e5dbf2 fix load fixtures for one-to-many relation with FQCN 2012-05-04 12:46:38 +02:00
William Durand f50df06a8b Merge pull request #147 from havvg/hotfix/foreignkey-dataloader
merge fixtures before loading them
2012-05-02 08:15:44 -07:00
Toni Uebernickel 792beb782a merge fixtures before loading them 2012-05-02 16:47:17 +02:00
clombardot 3b4ce8e784 Enable php in yaml fixtures
Make easiest loading of serialized datas in object columns
2012-04-25 16:11:30 +02:00
William DURAND b890706c4e Merge branch '2.0'
Conflicts:
	Tests/DataFixtures/Dumper/YamlDataDumperTest.php
	Tests/DataFixtures/Loader/YamlDataLoaderTest.php
2012-04-06 12:57:52 +02:00
Toni Uebernickel 9491c1b27c backport f589d31 from master 2012-03-14 10:16:09 +01:00
Toni Uebernickel ca68ea6c79 allow self reference in DataLoader
A self referencing entry will trigger an "UPDATE" rather than another "INSERT" with the new data.
2012-03-05 15:51:02 +01:00
Toni Uebernickel f589d318ee add tests for DataFixtures 2012-03-05 12:31:32 +01:00
William DURAND 3397d7422d Removed the use of CLASS_DEFAULT constant 2012-03-03 18:50:21 +01:00
William DURAND ebf5aece63 Removed the use of CLASS_DEFAULT constant 2012-03-03 18:47:08 +01:00
Toni Uebernickel e7f977c04d allow re-usage of DataLoader 2012-03-02 12:22:14 +01:00
Toni Uebernickel e3e6878b55 disable FOREIGN_KEY_CHECKS for MySQL 2012-02-28 11:10:59 +01:00
Toni Uebernickel 6a4d86dfe2 rename WipeDataLoader to DataWiper 2012-02-28 10:40:55 +01:00
Toni Uebernickel 264708ab16 fix minor code styles 2012-02-24 00:22:04 +01:00
Toni Uebernickel d2e2805fac add handling of array type in data loader 2012-02-21 23:37:29 +01:00
Toni Uebernickel bb9dfbef42 add WipeDataLoader 2012-02-18 02:34:34 +01:00
William DURAND 667ca20b80 Fixed AbstractDataLoader class 2011-12-05 22:22:30 +01:00
William DURAND ab50b5ec39 Fixed CS 2011-12-05 18:42:24 +01:00
William DURAND c06513003a [DataFixtures] Fixed the data loader 2011-09-07 10:33:59 +02:00
William DURAND a93edd5ec6 [DataFixtures] Moved some common logic to a new class 2011-09-06 14:41:58 +02:00
William DURAND 48f1baa10d [DataFixtures] Moved loader part to its own place 2011-09-06 13:30:09 +02:00