Marco Pivetta
693a0546d3
#6613 #6614 CS - applying @group
annotation to the test
2017-08-11 21:21:14 +02:00
Marco Pivetta
85dc707cc8
#6613 #6614 smashing entity definitions into the test
2017-08-11 21:21:03 +02:00
Andreas Braun
095b365146
Add test for removing element not in collection
2017-07-22 09:27:13 +02:00
Andreas Braun
7c1ebd99bc
Fix return of removeElement on collections
...
Fixes #5745
2017-07-22 09:27:01 +02:00
Emiel Nijpels
0be9be4e24
DDC-3146 remove event listener from event listener in abstract hydrator in cleanup function
2017-06-24 03:23:01 +02:00
Marco Pivetta
d2c805b071
Correcting PHP 5.4 compliance by removing ::class
usage (moving to real constants)
2017-05-02 09:33:48 +02:00
Timothy Clissold
149b8f4e09
Fix inheritance join alias
2017-05-02 09:26:44 +02:00
Guilherme Blanco
0ff512ba8f
Fixed support for inverse side second level cache
2016-12-05 14:36:33 -03:00
Marco Pivetta
2122297fdb
#6028 removed specific ::class
usage, since 2.5.x still supports PHP 5.4.x
2016-11-23 18:06:14 +01:00
Marco Pivetta
af99cba28c
#6028 removed specific ::class
usage, since 2.5.x still supports PHP 5.4.x
2016-11-23 18:02:15 +01:00
Luís Cobucci
9bcee455ca
Make child entity share the timestamp region with parent class
2016-11-23 17:58:05 +01:00
Marco Pivetta
5365a418e9
Removed non-existing CLASSNAME
reference
2016-09-09 23:25:54 +02:00
Marco Pivetta
47ce079b64
Removing ::class
usage (PHP 5.5 is not yet required on ORM 2.5)
2016-09-09 22:52:54 +02:00
Marco Pivetta
8e95672f49
Removing ::class
usage (PHP 5.5 is not yet required on ORM 2.5)
2016-09-09 22:51:42 +02:00
Luís Cobucci
88567ea395
Evict query cache when entities are updated
2016-09-08 13:56:46 +02:00
Carl Vuorinen
33e23cdddb
PR fixes (public properties & correct letter case in annotations)
2016-09-08 13:38:31 +02:00
Carl Vuorinen
dce0aeaa15
Create a failing test for issue #5989
...
Field with type=simple_array in a joined inheritance gets overridden by empty array in the hydrator
2016-09-08 13:38:18 +02:00
Marco Pivetta
aa6dc9695d
#5975 minor test cleanups
2016-09-07 23:20:47 +02:00
Alexander Kurilo
6ab27993fc
Use ::class const instead of FQCN string ( #5762 )
2016-09-07 23:20:27 +02:00
Alexander Kurilo
5eedccc22a
Remove irrelevant accessors ( #5762 )
2016-09-07 23:20:22 +02:00
John Keller
592122fbcb
add functional test and bug fix for issue #5762
2016-09-07 23:20:17 +02:00
Marco Pivetta
b183818fa8
#5867 s/::class/::CLASSNAME for PHP 5.4 compat
2016-06-19 12:48:15 +02:00
Marco Pivetta
2af84c6025
#5867 @group
annotations, describing scenario
2016-06-19 12:47:05 +02:00
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
Guido Contreras Woda
5092da074a
Test that reflects the issue described in http://www.doctrine-project.org/jira/browse/DDC-3967
2016-01-05 22:12:55 +01:00
Marco Pivetta
0086d17afe
Common 2.6 compatibility
...
Internal structure of the ArrayCache has changed, therefore we should fix the tests depending on it instead
2015-12-25 15:24:32 +01: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
42691c21b4
Removing empty newline
2015-12-11 20:18:48 +01:00
bilouwan
e173c930ec
Fix superflous whitespaces & empty lines
2015-12-11 20:18:25 +01:00
bilouwan
7071984559
Fix compatibility with php5.4
2015-12-11 20:18:19 +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
Matthias Pigulla
eaf8b1c7ca
Fix tests related to caches, as per doctrine/cache 1.5.0 changes
...
Backports #1510
Fixes DDC-3908
dd47003641
removes the 'DoctrineNamespaceCacheKey[]' entry from the cache. Thus, all tests counting cache entries were off by one.
2015-09-19 10:44:47 +02:00
Bill Schaller
89eed31e79
Merge pull request #1463 from ehimen/paginate-order-by-subselect
...
Fixed issue when paginator orders by a subselect expression
Conflicts:
tests/Doctrine/Tests/ORM/Tools/Pagination/LimitSubqueryOutputWalkerTest.php
2015-08-04 14:31:08 -04:00
Marco Pivetta
6bc405455e
DDC-3699 - #1387 - leveraging the OrmFunctionalTestCase
API
2015-07-15 21:52:25 +01:00
Marco Pivetta
173729e560
DDC-3699 - #1387 - catching specific exceptions
2015-07-15 21:52:20 +01: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
Matteo Beccati
786791b8fe
Fix DDC767Test failing on php7 + pg94
...
The failure happens when running the full suite or even just:
phpunit tests/Doctrine/Tests/ORM/Functional/Ticket
2015-04-06 04:23:03 +01:00
Bill Schaller
aa4b2e59ce
fix rare query test failures due to nondeterminism without order by clause
2015-04-05 00:10:11 +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
Bill Schaller
608dfa2f57
Add more detection in LimitSubqueryWalker for conditions that must be handled by LimitSubqueryOutputWalker
2015-03-31 21:39:20 +01:00
Bill Schaller
edcc0fc024
Fix paginator when ordering by while selecting entities using joined table inheritance
2015-03-31 21:39:20 +01:00
Bill Schaller
af3f5c5c5a
Add test for paginating on a query with a subquery in the where clause
...
Conflicts:
tests/Doctrine/Tests/ORM/Tools/Pagination/LimitSubqueryOutputWalkerTest.php
2015-03-31 21:38:58 +01:00
Kristopher Wilson
a4aa18f796
test case for joined table inheritance pagination
2015-03-31 21:38:58 +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
Marco Pivetta
cf1ecffb14
Merge pull request #1339 from BenMorel/dqlcustomtype
...
[DDC-2224] Honor convertToDatabaseValueSQL() in DQL query parameters
2015-03-25 01:27:05 +00:00