Marco Pivetta
99c5650ba4
#1169 DDC-3343 - removing duplicate test
2015-01-24 11:59:21 +01:00
Marco Pivetta
ff986a9bf5
#1169 DDC-3343 - importing used classe
2015-01-24 11:54:58 +01:00
Marco Pivetta
ed0331d25a
#1169 DDC-3343 - optimized imports
2015-01-24 11:54:32 +01:00
Marco Pivetta
43f301fdad
#1169 DDC-3343 - refactoring test to use pre-existing test models
2015-01-24 11:54:17 +01:00
Marco Pivetta
aed01ea571
#1169 DDC-3343 - minor refactoring: constant over string reference
2015-01-24 11:41:20 +01:00
Andrea Sprega
c2b3348f99
[DDC-3343] Failing test case (updated)
2015-01-24 11:30:17 +01:00
Andrea Sprega
db3697433b
[DDC-3343] Failing test case
2015-01-24 11:30:17 +01:00
Marco Pivetta
6547d5462e
#1257 DDC-3300 - strengthening test case (missing assertion, test name)
2015-01-22 09:51:43 +01:00
Marco Pivetta
c1cc768aee
#1257 DDC-3300 - correcting further incomplete discriminator maps in the test suite
2015-01-22 09:50:59 +01:00
Marco Pivetta
635d2c141f
#1130 DDC-3300 - minor CS fix (EOF EOL)
2015-01-22 09:44:39 +01:00
Marco Pivetta
fbe294927f
#1130 DDC-3300 - cleaning up test code
2015-01-22 09:44:39 +01:00
Marco Pivetta
b7c28924b1
#1130 DDC-3300 - fixed inheritance maps where inheritance members were missing
2015-01-22 09:44:39 +01:00
mmoreram
5a1a32297b
Tested DDC-3300
2015-01-22 09:44:38 +01:00
Marco Pivetta
40849f8ae1
#1086 - Minor CS fixes applied to the test case (simplifying)
2015-01-17 08:09:55 +01:00
Thomas Lallement
a0165858c4
Delete DDC0003Test.php
2015-01-17 08:09:55 +01:00
Thomas Lallement
033b8e51e9
Create DDC3223Test.php
2015-01-17 08:09:55 +01:00
Thomas Lallement
556c562258
Failing test (get id return string type)
2015-01-17 08:09:54 +01:00
Marco Pivetta
f799986be1
Reverting BC break in AbstractIdGenerator signature
2015-01-16 18:52:58 +01:00
Marco Pivetta
dd8db1acd2
DDC-3427 - s/EntityManager/EntityManagerInterface in relevant tests about identifier generation
2015-01-16 14:22:03 +01:00
Guilherme Blanco
a1d77bdc65
Renamed coll to collection and some small updates to tests.
2015-01-15 03:14:48 +00:00
Marco Pivetta
0106cba602
#881 DDC-2825 - reusing mapping files that already exist in models, where applicable
2015-01-14 19:17:39 +01:00
Marco Pivetta
7b168de236
#881 DDC-2825 - removing unused imports
2015-01-14 19:05:40 +01:00
Marco Pivetta
962f479318
#881 DDC-2825 - refactoring test logic, removing dead private method
2015-01-14 19:04:58 +01:00
Marco Pivetta
80ce601eae
#881 DDC-2825 - refactoring test logic to use data-provider instead of code repetitions
2015-01-14 19:02:44 +01:00
Marco Pivetta
f874189456
#881 DDC-2825 - refactoring tests for clarity/readability and ease of use
2015-01-14 18:56:37 +01:00
Marco Pivetta
9d6890e6ca
#881 DDC-2825 - expectations are the first parameter in an assertion
2015-01-14 18:50:17 +01:00
Marco Pivetta
67788d89b5
#881 DDC-2825 - simplifying/extracting test logic: moved verifying metadata into separate test method
2015-01-14 18:47:17 +01:00
Marco Pivetta
0a91b83e27
#881 DDC-2825 - exploding test case into smaller units
2015-01-14 18:34:58 +01:00
Marco Pivetta
6f85ca3356
#881 DDC-2825 - exploding test case into smaller units
2015-01-14 18:31:11 +01:00
Michaël Perrin
54b3c0548d
Fix persistence exception on a table with a schema on a platform without schema support
2015-01-14 15:48:49 +01:00
Rob Caiger
dd398ce577
- Fixed the basic entity persister so that versioned OneToOne entities can be created
...
- Created an IdentifierFlattener utility class
- Moved the logic for the flatten identifier method into the new utility class
- Replaced calls for private flattenIdentifier to use new utility
- Added appropriate unit tests
2014-10-01 14:01:44 +01:00
Marco Pivetta
b80149344d
Merge pull request #1073 from kamazee/add_passing_type_to_rsm_in_sql_walker
...
Add missing type mapping
2014-07-14 10:51:13 +02:00
Alexander Kurilo
38fcc66c16
Add missing type mapping
...
Fixes DDC-3192
Refs DDC-2494
This is essentially a fix from DDC-2494 applied to SQLWalker.
The issue: type was not converted to PHP value when the result is fetched by
executing DQL query rather than using entity manager's findX(). Similar issue
for BasicEntityPersister (which is used when em's findX is executed) was fixed
in DDC-2494, but SQLWalker made the issue valid for any custom query.
2014-07-14 11:22:08 +03:00
Marco Pivetta
a8035f25a2
Merge pull request #1074 from zimmermanj42/DDC-3160
...
[DDC-3160] Alternate fix for DDC-2996 bug
2014-07-06 16:07:43 +02:00
Justin Zimmerman
6a4867512e
Fix test issues.
2014-07-04 11:15:57 -04:00
Ulf
7aa1c0a907
Create DDC3170Test.php
...
Added test for [DDC-3170] (http://www.doctrine-project.org/jira/browse/DDC-3170 )
2014-06-17 14:45:59 +02:00
Andreas Flack
a5cf6417b3
Add failing test for DDC-3160
2014-06-12 17:28:13 +02:00
Marco Pivetta
65e55a0c49
DDC-3123 - using assertAttributeEmpty
(with message) instead of explicit reflection
2014-05-15 17:37:41 +02:00
Marco Pivetta
9cdcba3fbc
DDC-3123 - verifying that the UoW is not clearing extra inserts
2014-05-15 00:18:22 +02:00
Marco Pivetta
677cea4748
DDC-3103 - minor CS fixes/adjustments
2014-04-29 13:12:17 +02:00
Marco Jantke
cf84183c18
created test case to reproduce error
2014-04-29 09:30:10 +02:00
Guilherme Blanco
38b6838386
DDC-2575 Fixed issue with associations when parent is not yet loaded, but child is being created and no link happens.
2014-04-18 05:21:27 +00:00
Guilherme Blanco
10a0daf620
DDC-3068 DDC-3069 EntityManager::find accept array of object as id.
2014-04-18 02:03:47 +00:00
Marco Pivetta
e1259098f5
Fixed whitespace around imported classes
2014-04-17 15:37:24 -04:00
Marco Pivetta
9ab6ef723a
Removing too eager cache tests
2014-04-17 15:37:24 -04:00
Marco Pivetta
abb4671bfc
Removing usage of memcache cache in tests (HHVM gets stuck on them on local setups)
2014-04-17 15:37:23 -04:00
Marco Pivetta
e263426cdf
Removing eager assertion on error suppression when generating schema via tools
2014-04-17 15:37:23 -04:00
Guilherme Blanco
54898eca60
Added index by consideration when eagerly loading to-many associations.
2014-04-17 03:53:21 +00:00
Guilherme Blanco
b28fa9a05a
DDC-1632 Optimized query count for one-to-many associations with fetch eager.
2014-04-16 05:36:31 +00:00
Guilherme Blanco
5ce6dabe9b
Fixes DDC-2984. Made DDC-742 more resilient to recurring failures.
2014-04-16 04:20:18 +00:00