Luís Cobucci
74c8a08828
Use short-array syntax on "tests" directory
2016-12-07 23:33:41 +01:00
Sebastian Bergmann
9da83cfae8
Make test suite compatible with PHPUnit 5.4.
...
* Use createMock() and getMockBuilder() instead of getMock()
* Use expectException() and expectExceptionMessage() instead of setExpectedException()
2016-06-18 13:01:59 +02:00
Mikhail Shamin
b173763bbb
Remove full qualified class names in tests
2016-05-11 03:00:44 +07: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
Giorgio Premi
6cb3fa8fb7
Removed all useless occurrence of require_once TestInit.php
2014-04-07 14:43:25 +02:00
Pascal Borreli
a2cd0f5804
Fixed typos
2013-03-11 00:08:58 +00:00
Fabio B. Silva
2e90cd9924
Identity function support composite primary key
2012-12-22 10:36:23 -02:00
Benjamin Eberlei
354fa14df4
[DDC-1939] Add test for persistent collection delete with composite key
2012-07-29 09:27:08 +02:00
Benjamin Eberlei
bd1bc07270
[DDC-1651] Convert entities as parameters early in setParameter() to avoid them being part of result cache strings, which causes non-uniqueness.
2012-02-18 16:07:55 +01:00
Benjamin Eberlei
cd6131c9b8
Remove all trailing whitespaces
2011-12-19 22:56:19 +01:00
Benjamin Eberlei
619a31913a
DDC-1517 - Fix EntityRepository#find() and EntityManager#getReference() breaking on invalid or missing identifiers.
2011-12-01 21:18:39 +01:00
kwiateusz
49c735109c
Change from assertType to assertInstanceOf.
...
Now PHPUnit doesn't show warning about deprecation of assertType.
Also some refractoring from assertTrue($a instanceof $b) to assertInstanceOf.
Leading \ in namespaces is not required so I removed it from few assertions.
2011-07-26 11:38:09 +02:00
beberlei
95994f7a44
[2.0] DDC-341 - Added Composite Model-Set and 3 tests, fixed two bugs in SqlWalker with Composite Key support
2010-04-02 21:37:15 +00:00