Mathew Davies
866418e40f
No longer treat aggregate functions as a special case.
2017-06-20 07:27:24 +02:00
Luís Cobucci
1bf884970f
Increment assertion count manually
...
Which is needed to test void methods that shouldn't raise any exception
on a certain condition. If the interpreter gets to the point where the
assertion count is incremented it means that no exceptions have been
thrown and our test is successful.
Important to note that some tests were slighly refactored to simplify
things a bit.
2017-06-12 23:04:56 +02:00
Sam-Burns
5bd7bd8d48
Updating to PHPUnit 6
2017-03-31 21:59:02 +01:00
Luís Cobucci
fda6fdd9fb
Use "::class" syntax on "tests" directory
2016-12-08 18:13:39 +01:00
Luís Cobucci
74c8a08828
Use short-array syntax on "tests" directory
2016-12-07 23:33:41 +01:00
Arjan
a4379cc9e2
Fixes named native query test
...
- Makes sure the correct method is called in the test
- Verifies that the correct method is called by checking the exception message
2016-10-13 22:54:32 +02: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
bf322b903d
Optimize imports. Remove full qualified class names
2016-05-11 01:55:12 +07:00
Christian Schmidt
61c72e4aa7
Ensure query cache is not ArrayCache in production
2014-12-19 20:18:45 +01:00
Christian Schmidt
89684b4ce9
Document that AUTOGENERATE_ constants are allowed
2014-11-21 21:11:32 +01:00
Christian Schmidt
c973d8df1a
Code style fixes.
2014-11-11 07:35:52 +01:00
Christian Schmidt
0990d64756
Ensure metadata cache is not ArrayCache in production
2014-11-08 15:05:56 +01:00
Giorgio Premi
6cb3fa8fb7
Removed all useless occurrence of require_once TestInit.php
2014-04-07 14:43:25 +02:00
fabios
1bfa8f0fc3
Extract cache config
2013-12-16 11:05:04 -05:00
Fabio B. Silva
3140593e9b
Second level cache
2013-12-16 11:05:04 -05:00
Alexander
9bf501dd25
Revert "allowed to pass filter objects to the configurator"
...
This reverts commit a9b4debe37370a4ff30141f8e4c6a444c226e06c. See the
discussion on the original PR:
https://github.com/doctrine/doctrine2/pull/434
Conflicts:
lib/Doctrine/ORM/Configuration.php
2013-02-09 20:28:52 +01:00
Fabio B. Silva
3f9a4c82b0
Fix typo
2013-01-29 12:14:53 -02:00
Fabio B. Silva
a01d6583d3
implements a entity listener resolver
2013-01-29 12:14:52 -02:00
Guilherme Blanco
7d7287a1ba
Merge pull request #434 from bamarni/filter-objects
...
allowed to pass filter objects to the configurator
2012-11-02 17:52:23 -07:00
Bilal Amarni
a9b4debe37
allowed to pass filter objects to the configurator
2012-09-03 10:52:46 +02:00
Alexander
185b4e0c41
Fix setCustomHydrationModes + added test
2012-08-14 22:43:32 +02:00
Marco Pivetta
346e34adf6
Reverting to default annotation driver with - delayed to 3.0
2012-07-08 17:33:50 +02:00
Marco Pivetta
7c2e5ae5b2
Adding tests for configuration object (also to ensure defaults for BC break early discovery)
2012-07-08 16:32:27 +02:00