1
0
Fork 0
mirror of synced 2025-04-03 05:13:37 +03:00
Commit graph

1354 commits

Author SHA1 Message Date
Dariusz Ruminski
c7d6d62393 Use newer PHP syntax 2017-09-06 01:32:49 +02:00
Marco Pivetta
922c55f5dd
Replacing direct quote model-set schema creation with actually existing model-set setup 2017-08-26 14:15:05 +02:00
Marco Pivetta
660f164568
s/$this->assert/self::assert as per @lcobucci's review 2017-08-25 09:21:12 +02:00
Marco Pivetta
c9d1f852de
removing unused lazy entity 2017-08-22 21:41:04 +02:00
Marco Pivetta
c29a1e96b7
removing unused separate class 2017-08-22 21:40:42 +02:00
Marco Pivetta
a2f4053a81
renaming variables, classes and properties to fit tested behavior 2017-08-22 21:38:44 +02:00
Marco Pivetta
3f09e20955
correcting alignment, removing stuff that isn't strictly needed 2017-08-22 21:31:01 +02:00
Marco Pivetta
220dc79ebf
renaming entities to match the scope of this test 2017-08-22 21:29:27 +02:00
Marco Pivetta
6f6e88cfb6
adding assertions about equality of the loaded classes 2017-08-22 21:27:46 +02:00
Marco Pivetta
dac1ce4172
removing profile entity, since it is not needed to reproduce the issue 2017-08-22 21:21:53 +02:00
Marco Pivetta
ca39abcd71
reducing annotation mapping clutter 2017-08-22 21:17:14 +02:00
Marco Pivetta
4e0b76ce69
eager fetching is strictly required to verify the issue 2017-08-22 21:14:38 +02:00
Marco Pivetta
805ba041ef
reducing annotation mapping clutter 2017-08-22 21:12:45 +02:00
Marco Pivetta
3842ad8ea1
simplifying tests to a minimum, removing unused auto-generated id field 2017-08-22 21:11:03 +02:00
Marco Pivetta
c7281f6ade
simplifying tests to a minimum, removing unused auto-generated id field 2017-08-22 21:08:06 +02:00
Waleed Gadelkareem
309b286ed3
Add tests for 2017-08-22 19:45:26 +02:00
Marco Pivetta
4cbcdb761a
documenting that the discriminator map order is extremely important for this test 2017-08-19 18:25:44 +02:00
Marco Pivetta
b66643d52e
removing useless union type usage 2017-08-19 17:49:14 +02:00
Marco Pivetta
42d9162bd5
re-enabling disabled test code data 2017-08-19 17:47:12 +02:00
Marco Pivetta
8af68614fc
correcting type mapping. For simple_array, [] == null (which is bullshit), so we use array here 2017-08-19 17:45:26 +02:00
Marco Pivetta
764ab59882
making unnecessary visible fields private 2017-08-19 17:06:27 +02:00
Marco Pivetta
468496be1a
using strict types in the tests 2017-08-19 17:05:44 +02:00
Marco Pivetta
e18fb6607d
removing duplicate test details 2017-08-19 17:04:26 +02:00
Marco Pivetta
2ab363ab82
adding void hints where applicable 2017-08-19 16:53:41 +02:00
Marco Pivetta
0882b10213
simplified tests, removing references to contract naming 2017-08-19 16:51:31 +02:00
Marco Pivetta
328467c226
simplified tests, removing references to contract naming 2017-08-19 16:48:50 +02:00
Marco Pivetta
f6ce69fe29
minor CS fixes in the test code - alignment/formatting 2017-08-19 16:37:24 +02:00
fullbl
82db643b4f
clarified what's the problem in a comment 2017-08-19 15:56:59 +02:00
Full
0072054020
moved all test models into test class 2017-08-19 15:56:59 +02:00
Full
ad3b9de4b8
use dataMap also in first test function 2017-08-19 15:56:59 +02:00
Full
6d40859228
added tests on empty values 2017-08-19 15:56:59 +02:00
Full
aac523d155
tests with custom inheritance tree 2017-08-19 15:56:59 +02:00
Marco Pivetta
1a0bb82e1d Merge pull request from Jean85/pr_1441_rebased
Correct DQL `INSTANCE OF` to filter all possible child classes
2017-08-18 21:35:54 +02:00
Alessandro Lai
c799c6da8b
Add new functional test to check usage of INSTANCEOF with multiple parameters 2017-08-18 14:49:56 +02:00
Alessandro Lai
19bc4991ae
Add more CS fixes 2017-08-18 12:35:51 +02:00
Marco Pivetta
a0c0d3bf2a
Revert "Merge branch 'fix/#6499-#6533-fix-commit-order-calculation-consider-all-join-column-fields'"
This reverts commit 2a58645cb5, reversing
changes made to 6d428c90e2.
2017-08-11 22:29:45 +02:00
Marco Pivetta
166c5816b6
calibrating test so that the association is populated after persistence in some edge cases 2017-08-11 22:10:02 +02:00
Marco Pivetta
25829ea450
simplifying test scenario to the bone, adding description of what happened at persistence-level 2017-08-11 22:05:00 +02:00
Marco Pivetta
ebd521c56e
minor CS fixes in the test 2017-08-11 21:55:02 +02:00
Marco Pivetta
b352cd3e22
minor CS fixes in the test 2017-08-11 21:54:30 +02:00
Gabe van der Weijde
da3cd04993
-- Transformed into a minimal example.
-- Processed Ocramius' feedback.
2017-08-11 21:51:17 +02:00
Gabe van der Weijde
16a14f2238
-- Created test for validation issue . 2017-08-11 21:51:17 +02:00
Marco Pivetta
9ad91ddc1c
using PHP 7.1 void and string return hints where available 2017-08-11 21:45:23 +02:00
Marco Pivetta
91a5091612
cleaning up test - removed invalid fetch join, CS 2017-08-11 21:39:13 +02:00
Stefan Siegl
025ed1147b
code review updates 2017-08-11 21:36:33 +02:00
Stefan Siegl
55882ca7a6
add test 2017-08-11 21:36:33 +02:00
Luís Cobucci
b960170fe1
Move test to the right place and add assertions
That test was removed from "performance" group but we forgot to move it
to the correct namespace.

It was also not doing any assertion, which is quite bad.

More info:
- https://github.com/doctrine/doctrine2/issues/3333
2017-08-06 12:51:58 +02:00
Jean Carlo Machado
c2167664fc
add test of NonUniqueResultException message presence 2017-08-06 12:08:57 +02:00
Marco Pivetta
88ea1d33fa
Full hydration + query benchmark 2017-07-23 10:16:24 +02:00
Luís Cobucci
6bf9f6f72f
Remove unnecessary annotation from test 2017-07-22 22:41:07 +02:00