Marco Pivetta
9e085ca0b3
Merge pull request #1308 from z38/override-inversedby
...
[DDC-3579] Allow override of inversedBy
2015-11-05 15:10:43 -05:00
Marco Pivetta
2fa289edee
Merge pull request #1514 from Metabor/patch-2
...
check if collection is empty without loading it
2015-11-05 14:46:15 -05:00
z38
ff28507b88
Allow override of inversedBy
2015-11-05 12:11:29 +01:00
Guilherme Blanco
1587aac4ff
Added support for OneToMany with orphanRemoval. Replacing entire collection now deletes the replaced collection (scheduled for deletion). No event handling is done as it happens at DBAL level.
2015-11-05 00:08:44 -05:00
Pantel
43b2419a3c
[DDC-3711] add Test that check if the association key are composite
2015-10-31 17:19:39 +01:00
Pantel
7de2e04ccd
[DDC-3711] add Tests that check if the association key are composite
2015-10-31 17:15:06 +01:00
Ilya Antipenko
60b80c95cc
Add phpdoc tests for addXxx() and removeXxx() methods
...
Add tests for return types for addXxx() and removeXxx() methods
2015-10-17 17:14:56 +03:00
Guido Contreras Woda
3a7d2da2e5
Added custom ID generator definition to the FieldBuilder
2015-10-02 13:51:07 -03:00
Oliver Tischlinger
60beca3760
changes after code review
2015-09-25 10:44:30 +02:00
Oliver Tischlinger
03523c67d5
add Unit Test for isEmpty change in LazyCriteriaCollection
2015-09-24 11:39:14 +02:00
Matthias Pigulla
84f51b68af
Fix tests
...
dd47003641
removes the 'DoctrineNamespaceCacheKey[]' entry from the cache. Thus, all tests counting cache entries were off by one.
2015-09-19 01:15:39 +02:00
François-Xavier de Guillebon
ae243643e5
Added test
2015-09-14 18:35:49 +02:00
Giorgio Premi
16172534bb
Add Expr::concat support for multiple arguments
2015-09-10 17:01:09 +02:00
Marco Pivetta
a0a0c731bb
Merge pull request #1457 from phansys/short_types
...
Updated syntax for "integer" and "boolean" types
2015-09-05 17:21:05 +02:00
Marco Pivetta
5c8cca2f44
Merge pull request #1485 from hasumedic/php-version-docs
...
Changed references from PHP6 to PHP7
2015-09-04 08:40:37 +01:00
Issei.M
df461601f7
removed useless line breaks
2015-09-03 17:55:14 +09:00
Bill Schaller
f88896cc9d
Merge pull request #1463 from ehimen/paginate-order-by-subselect
...
Fixed issue when paginator orders by a subselect expression
2015-08-04 14:17:50 -04:00
Egidijus Jucevičius
d4d9a2ba3c
Support any ordering of fields in partial object query with embeddable [DDC-3864]
2015-08-04 10:56:50 +03:00
Alex Salguero
5393bc9956
Removed outdated PHP6 reference in "best practices" docs.
...
Changed references from PHP6 to PHP7 in tests.
2015-07-31 12:25:19 +01:00
Adrien Crivelli
57ca849848
Add test for MariaDB 5.5 and 10.1 on Travis
...
This use the brand new supported addon mariadb (not yet officially announced).
This is unfortunately a bit verbose, but I don't think there is any
alternative because we cannot install the addon when testing against mysql
otherwise it would overwrite mysql install.
2015-07-23 12:51:21 +09:00
Andy Cook
26c295b06b
Added non-functional tests for row number over function subselect expression fix; syntax fixes.
2015-07-17 13:24:19 +01:00
Marco Pivetta
506df640b5
Merge pull request #1433 from goetas/slc-check-to-classmetadatainfo
...
Check for non-cacheable entities on metadata level, not at runtime
2015-07-16 20:41:30 +01:00
Andy Cook
61488d955e
Fixed issue when paginator orders by a subselect expression on platforms supporting ROW_NUMBER OVER() function.
2015-07-16 11:20:22 +01:00
Marco Pivetta
eb5d87cd94
DDC-3699 - #1387 - leveraging the OrmFunctionalTestCase
API
2015-07-15 21:51:04 +01:00
Marco Pivetta
12183b7e6c
DDC-3699 - #1387 - catching specific exceptions
2015-07-15 21:47:37 +01:00
Marco Pivetta
74883e535f
DDC-3699 - #1387 - simpifying tests, clarifying on test method names
2015-07-15 21:46:23 +01:00
Lenard Palko
cbfd71cec6
Added test cases for both one-to-one and one-to-many cases.
2015-07-15 21:26:45 +01:00
Nico Vogelaar
b3af5590f9
Fixes ClassMetadata wakeupReflection with embeddable and StaticReflectionService
2015-07-15 20:49:16 +01:00
Marco Pivetta
56cedc5d4f
DDC-3683 - #1380 - reverting BC break, annotating correct types, cs fixes
2015-07-15 20:35:21 +01:00
Darien Hager
6f1107c4ee
Clarify state-changes, replace array_key_exists() with isset() for speed
2015-07-15 20:29:43 +01:00
Darien Hager
1659fab44f
Whitespace formatting tweaks
2015-07-15 20:29:43 +01:00
Darien Hager
d0892b21fb
Remove now-superfluous EntityManager check
2015-07-15 20:29:43 +01:00
Darien Hager
e8854b68bb
Change the test listener than layers on second-level-caching so that it is more conservative, only turning on caching-associations when it knows the target entity is cache-able.
2015-07-15 20:29:43 +01:00
Javier Spagnoletti
97cc49033e
Updated syntax for ``integer
` and
`boolean
`` types
...
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
Used short syntax for ```integer``` and ```boolean``` types.
**Before**
```php
/**
* @var integer
*
* @ORM\Column(name="some_integer_field", type="integer")
*/
private $someIntegerField;
/**
* @var boolean
*
* @ORM\Column(name="some_boolean_field", type="boolean")
*/
private $someBooleanField;
```
**After**
```php
/**
* @var int
*
* @ORM\Column(name="some_integer_field", type="integer")
*/
private $someIntegerField;
/**
* @var bool
*
* @ORM\Column(name="some_boolean_field", type="boolean")
*/
private $someBooleanField;
```
2015-07-14 15:30:13 -03:00
xoeoro
44557a5afa
Update ExprTest.php
...
expr()->countDistinct allows to create COUNT(DISTINCT) expression with mulltiple fields but parser requires only one field.
\Doctrine\ORM\Query\Parser::AggregateExpression
some body, please, fix this problem
2015-07-13 10:45:17 +03:00
Dick Marinus
4a39754e76
unsigned is in fieldMapping['options']
2015-07-09 20:54:04 +02:00
Kris Pypen
5780f3209c
wrote a Test for second level cache with multiple levels of associations
2015-07-06 14:18:38 +02:00
David Adams
6fa20062f3
allow ManyToManyPersister to handle identification types
2015-06-23 17:55:56 +00:00
Asmir Mustafic
32f0fefec7
Test XML driver with failing SLC mapping
2015-06-20 14:33:36 +02:00
Asmir Mustafic
4da0ee9db8
Test PHP driver with failing SLC mapping
2015-06-20 14:33:36 +02:00
Asmir Mustafic
5f2922b3a7
Test annotation driver with failing SLC mapping
2015-06-20 14:32:15 +02:00
Asmir Mustafic
012367a371
Removed runtime check test for non-cacheable entities
2015-06-20 14:32:14 +02:00
Thomas Lallement
f41e59258c
Failing Test - Paginator with sorted collection
2015-06-16 16:34:37 -04:00
Benjamin Eberlei
8d1be42924
[DDC-3741] Add test for AbstractQuery#setHydrationCacheProfile(null)
2015-06-16 21:56:25 +02:00
Christian Schmidt
96dbecec24
[DDC-3382] Allow orphan removal to be cancelled
2015-06-12 16:44:13 +02:00
Sergio Santoro
8c6607532b
EntityManager#getReference throw ORMException for unrecognized id
...
- Unreachable statements have been removed
- Throw ORMException for unrecognized identifier field (same
behavior as EntityManager#find)
2015-05-10 00:28:28 +02:00
Menno Holtkamp
74964e7d85
Improved testing region->getMultiple()
2015-04-13 23:31:19 +02:00
Filip Procházka
192da14842
Failing test case for broken paginator case
2015-04-09 01:42:46 +02:00
Michał Bundyra
699a6e1783
prevent duplicate unique index
2015-04-08 10:49:21 +01:00
Matteo Beccati
e7397ff62e
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-05 21:50:25 +02:00