Marco Pivetta
f181cf6c6b
#5867 simplifying test case by inlining all required models into the test case
2016-06-19 12:45:54 +02:00
Luís Cobucci
62431ae477
Allow the usage of embedded objects on parent classes.
...
The `ClassMetadataInfo` was always using the "current class" to
fetch the reflection of a property even when a field is declared
on the parent class (which causes `ReflectionProperty` to throw
an exception).
2016-06-19 12:45:47 +02:00
Marco Pivetta
9a393ccba7
Removed reliance on ::class
meta-constant (only available in PHP 5.5+)
2016-06-06 01:48:32 +02:00
Marco Pivetta
66770c5bfe
#1573 - correcting test asset namespace, removing unused properties and bi-directional association
2015-12-11 20:18:53 +01:00
Marco Pivetta
d5c82094df
#1573 removing unused API
2015-12-11 20:18:37 +01:00
bilouwan
e173c930ec
Fix superflous whitespaces & empty lines
2015-12-11 20:18:25 +01:00
bilouwan
216c466233
Unit test & fix for merge versionned entity
2015-12-11 20:18:12 +01:00
Pantel
d606efd4eb
[DDC-3711] add Test that check if the association key are composite
2015-11-09 03:46:06 +00:00
François-Xavier de Guillebon
1eb9c8a7f6
Added test
2015-11-07 10:35:08 -05:00
Marco Pivetta
86abbb0e78
DDC-3699 - #1387 - simpifying tests, clarifying on test method names
2015-07-15 21:52:16 +01:00
Lenard Palko
69ef75ff2d
Added test cases for both one-to-one and one-to-many cases.
2015-07-15 21:52:08 +01:00
Marco Pivetta
a1602bd91f
Hydration of fetch-joined results fails when an entity has a default value of array
for the collection property
2015-04-05 01:28:53 +01:00
Kristopher Wilson
9d7aa9ba39
Adding failing test case for PaginationTest
...
The failure comes into play when an entity has an attribute named
differently from its corresponding column name.
2015-03-31 21:39:21 +01:00
Alexander Orabey
f92307d06d
problem with LimitSubqueryOutputWalker when use InheritanceType
...
Conflicts:
tests/Doctrine/Tests/OrmFunctionalTestCase.php
2015-03-31 21:36:32 +01:00
Bill Schaller
ff75a3ad49
Fix paginator issues when ordering by a joined column from a to-many association.
...
Manual merge testcase from #1351
2015-03-31 21:36:32 +01:00
Bill Schaller
147bdd8ede
Fixed nitpicks from @stof
2015-03-24 00:25:12 +00:00
Bill Schaller
81ccd93b74
Add thorough functional tests for Paginator, expand existing ones.
2015-03-24 00:25:12 +00:00
Marco Pivetta
1add0a04fa
Merge pull request #1302 from goetas/pr1301
...
Store column values of not cache-able associations
2015-03-17 23:27:04 +00:00
Marco Pivetta
0c0d3a1a7c
#1316 - removing unused API from stub class
2015-03-17 23:14:29 +00:00
molchanoviv
ab740abe96
Add DefaultQuoteStrategyTest::testGetJoinTableName() test
2015-03-17 23:03:03 +00:00
Marco Pivetta
5c89bb8c6b
#1336 DDC-3622 - removing implicit cast from string
to CustomIdObject
in entity API (confusing)
2015-03-17 21:29:30 +00:00
Marco Pivetta
11da060668
#1336 - class constants over string references in tests - removing useless QueryBuilder usage
2015-03-17 21:21:20 +00:00
Stefano Torresi
c7ad932b5f
fix copyright notices
2015-03-17 21:08:07 +00:00
Stefano Torresi
41e873bd72
add failing functional test for custom id object types
2015-03-17 21:08:06 +00:00
Volker von Hoesslin
0824c6136d
unittest DDC3597: fix for PHP 5.4
2015-03-04 11:55:08 +01:00
Volker von Hoesslin
2aef87c9b2
add unittest for DDC3597
2015-03-03 16:59:48 +01:00
Asmir Mustafic
d33ee5e7ff
Removed unnecessary API from test cases
2015-02-24 08:53:22 +01:00
Asmir Mustafic
4d43f5ca52
Tested composite keys on non cache-able entities
2015-02-20 19:00:32 +01:00
Asmir Mustafic
b9577bf2f3
Added tests for many-to-one non cache-able relations
2015-02-16 08:55:27 +01:00
Asmir Mustafic
60164931b8
Handled one-to-many non cache-able relations
2015-02-16 08:55:27 +01:00
Michaël Gallego
ed6fa0deb4
Add failing test
2015-02-16 08:55:27 +01:00
Asmir Mustafic
7222991b13
Tested composite primary key support
2015-02-16 00:53:46 +00:00
Marco Pivetta
a0eb6005f3
#1169 DDC-3343 - adding tests for orphan-removal + extra-lazy + one-to-many element removal behavior
2015-01-27 07:42:48 +01:00
Marco Pivetta
146354d835
Merge pull request #1280 from Ocramius/hotfix/#1277-find-one-with-eager-loads-is-failing
...
[DDC-3346] #1277 find one with eager loads is failing
2015-01-25 06:00:47 +01:00
Marco Pivetta
d024193cc0
Merge pull request #1272 from Ocramius/hotfix/DDC-2704-merge-inherited-transient-properties
...
[DDC-2704] - merge inherited transient properties - merge properties into uninitialized proxies
2015-01-25 05:55:53 +01:00
Marco Pivetta
04a271a04e
#1277 DDC-3346 DDC-3531 - refactoring test assets for readability
2015-01-24 14:39:46 +01:00
Pavel Batanov
981cebbf4c
Update test according to @Ocramius notes
2015-01-24 14:39:43 +01:00
Pavel Batanov
e36c7b0c2a
DDC-3346 failing test example
2015-01-24 14:39:42 +01:00
Marco Pivetta
05a8e1c77d
#1272 DDC-2704 - test assets for the property getter utility tests
2015-01-24 14:30:07 +01:00
Marco Pivetta
30dcece125
DDC-2704 - covering code handling class metadata skipping of static properties
2015-01-24 13:22:16 +01:00
Marco Pivetta
3df9b4d122
DDC-2704 - synchronized model classes to new test code
2015-01-24 13:22:16 +01:00
Marco Pivetta
15397bbe40
#1169 DDC-3343 - refactoring test to use pre-existing test models
2015-01-24 11:54:03 +01:00
Marco Pivetta
8987c9ab37
#1176 DDC-3378 - moved test asset entities to proper models directory
2015-01-22 12:07:42 +01:00
Marco Pivetta
b7c28924b1
#1130 DDC-3300 - fixed inheritance maps where inheritance members were missing
2015-01-22 09:44:39 +01:00
Marco Pivetta
9abbdb9e7f
#1265 DDC-3517 - moved test assets to separate models dir, namespaced table names
2015-01-18 18:25:46 +01:00
Marco Pivetta
67f59dc256
Revert " #1178 - simplified ValueConversionType
tests by using a single model-set for the entire subset of tests (faster as well)"
...
This reverts commit 270254093005c2c3601dbe5b4c8ea72164b9bdc3.
2015-01-17 08:01:31 +01:00
Marco Pivetta
2702540930
#1178 - simplified ValueConversionType
tests by using a single model-set for the entire subset of tests (faster as well)
2015-01-17 07:59:03 +01:00
Jasper N. Brouwer
7b9c6a69bd
Add tests for extra lazy many-to-many associations
...
and fixed production code
2015-01-17 07:58:59 +01:00
Jasper N. Brouwer
ba3df8577b
Refined and added tests, fixed found issues
...
- Renamed id properties so they don't coexist between entities in a test
- Added tests for extra lazy one-to-many associations
- Fixed production code to make tests green
2015-01-17 07:58:59 +01:00
Jasper N. Brouwer
f60f2a567a
Fixed associations using a value-conversion type for identifiers
2015-01-17 07:58:59 +01:00