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
4db28b7bbd
introduce Propel\Bundle\PropelBundle namespace
2016-01-23 21:41:17 +01:00
Toni Uebernickel
13b34567f5
remove Symfony Security ACL integration
...
The PropelAclBundle will provide integration of the Symfony Security ACL component.
2016-01-23 19:30:36 +01:00
Toni Uebernickel
38b491aa46
integrate former Symfony Propel1 bridge
2016-01-23 17:27:52 +01:00
Toni Uebernickel
5e8668a7e0
fix AbstractCommandTest avoiding SplFileInfo mocks
2014-11-01 15:44:42 +01:00
Warnar Boekkooi
b61fed529a
Fix possible PDO Unknown database
error
...
This patches a possible `Unable to open PDO connection [wrapped: SQLSTATE[42000] [1049] Unknown database '<db_name>']` when the dsn is not ending with a `;`.
Related to #159
2014-08-19 10:48:49 +08: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
28a55e1cb3
add model based loader and dumper for Translation
2013-11-11 13:42:44 +01:00
Toni Uebernickel
a9fcc24807
read route options in PropelParamConverter
2013-09-18 15:33:54 +02:00
Arron Bailiss
3c1bbbde89
Small typo fix
2013-05-24 16:32:59 +03:00
Toni Uebernickel
675e711dd3
add support for delegated fixtures in 1:1 relation
2013-04-08 17:14:36 +02:00
Toni Uebernickel
9b33b91976
fix FixturesLoadCommandTest on symbolic directory
2013-03-13 10:35:29 +01:00
jaugustin
4ec0391bff
add tests for paramConverter, fix issue with never set
2013-01-02 19:03:11 +01:00
jaugustin
70b32dc174
add test to prove issue with loading array to Object type column
2012-12-22 17:45:46 +01:00
Jonathan Petitcolas
dfeb22b268
Add some tests for adding a child object to fill a parent based relationship in fixtures (refs #195 )
2012-11-29 11:15:57 +01:00
William DURAND
a8ea9726a0
Fix test
2012-11-05 14:18:43 +01:00
William DURAND
53cba04c23
Fix CS
2012-11-05 14:00:31 +01:00
jaugustin
821cc398a6
fix cross-platform tests
2012-10-21 13:41:44 +02:00
Anh Tuan Kieu
51d91fc5b8
Fix yaml dumper for object columns
2012-08-20 17:06:38 +02: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
b8720a62e5
Fixed test if Faker not available
2012-06-24 01:01:09 +02:00
William DURAND
b5ae04c14a
Moved disableInstancePooling in setUp()
2012-05-24 16:36:46 +02:00
William DURAND
6970913db9
Fixed CS
2012-05-24 16:36:46 +02:00
jaugustin
1b5b18237c
[WIP] rebase, refactor code, add tests, add doc
2012-05-24 16:36:46 +02:00
jaugustin
b03f6a58b4
Add the mapping option for the PropelParamConverter,
...
enhance the pk handling to use the real PK name and not only 'id',
fix new sensioFrameworkBundle 2.1 requirement:
ParamConverterInterface::apply() method now must return a Boolean value indicating if a conversion was done
2012-05-23 00:08:13 +02:00
kphoen
b54cf4ab3f
Modified the PropelParamConverter to allow CamelCased parameters
...
Currently, parameters like "author_slug" are translated by the param
converter to a "->filterByAuthor_slug()" call. I changed this behavior
and they are now translated to "->filterByAuthorSlug()".
2012-05-21 15:23:34 +02:00
William DURAND
ca45e9c5cf
Added faker support
2012-05-08 18:32:32 +02:00
jaugustin
6237a2a57c
fix test wrong way to set isOptional ;)
2012-05-07 23:43:52 +02:00
Jeremie Augustin
a3871ccc74
fix param converter to handle correctly isOptional parameter
2012-05-07 18:43:27 +02:00
William DURAND
2e7bb13431
[DataFixtures] Fixed N-N relations
2012-05-06 19:37:48 +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
6a99a18c8d
Fixed tests
2012-04-24 15:22:01 +02:00
Toni Uebernickel
7f14193c39
fix SecurityIdentity username with multiple dashes
2012-04-24 14:53:42 +02:00
William DURAND
c23c76883d
Fixed security layer for Symfony2 2.1
2012-04-20 15:49:28 +02:00
William DURAND
29ca595387
Removed 'Propel' class prefixes
2012-04-20 13:54:05 +02:00
William DURAND
1f35b6b55b
Switched to composer to run the test suite
2012-04-20 13:33:35 +02:00
William DURAND
dd13a0f40b
Added few unit tests, fixed CS
2012-04-20 10:57:38 +02:00
William DURAND
0b85aba836
[Command] Added a new command named: propel:form:generate
...
Allows to quickly create Form Type stubs
Added a PropelGeneratorAwareCommand class (abstract) to write more code generation based commands
Added few tests, fixed some tests as well
2012-04-11 12:00:19 +02:00
William DURAND
07f7ec73c5
[Command] Refactored some commands.
2012-04-07 21:58:45 +02: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
eece448443
add m:n test for data loader
...
* refactor tests of DataFixtures
2012-03-05 15:00:48 +01:00
Toni Uebernickel
f589d318ee
add tests for DataFixtures
2012-03-05 12:31:32 +01:00
Toni Uebernickel
4d9a49b35c
add test for YamlDataDumper
2012-02-28 23:54:32 +01:00
Toni Uebernickel
6a4d86dfe2
rename WipeDataLoader to DataWiper
2012-02-28 10:40:55 +01:00
Toni Uebernickel
bb9dfbef42
add WipeDataLoader
2012-02-18 02:34:34 +01:00
William DURAND
4f0ccd5eb7
Merge pull request #100 from havvg/feature/acl-provider-master
...
[Security] AclProvider
2012-02-10 07:16:48 -08:00
William DURAND
b019559de8
Merge branch '2.0'
2012-02-10 16:06:49 +01:00
Toni Uebernickel
b7fa0dccd2
fix AclTestCase to read moved acl_schema.xml
2012-02-07 17:27:01 +01:00
Toni Uebernickel
680da9e977
add handling of AclCacheInterface
2012-02-07 17:25:35 +01:00