This website requires JavaScript.
mirror of
synced
2024-12-05 03:06:05 +03:00
c29a1e96b7
#6284 removing unused separate class
Marco Pivetta
2017-08-22 21:40:42 +0200
a2f4053a81
#6284 renaming variables, classes and properties to fit tested behavior
Marco Pivetta
2017-08-22 21:38:44 +0200
3f09e20955
#6284 correcting alignment, removing stuff that isn't strictly needed
Marco Pivetta
2017-08-22 21:31:01 +0200
220dc79ebf
#6284 renaming entities to match the scope of this test
Marco Pivetta
2017-08-22 21:29:27 +0200
6f6e88cfb6
#6284 adding assertions about equality of the loaded classes
Marco Pivetta
2017-08-22 21:27:46 +0200
dac1ce4172
#6284 removing profile entity, since it is not needed to reproduce the issue
Marco Pivetta
2017-08-22 21:21:53 +0200
ca39abcd71
#6284 reducing annotation mapping clutter
Marco Pivetta
2017-08-22 21:17:14 +0200
4e0b76ce69
#6284 eager fetching is strictly required to verify the issue
Marco Pivetta
2017-08-22 21:14:38 +0200
805ba041ef
#6284 reducing annotation mapping clutter
Marco Pivetta
2017-08-22 21:12:45 +0200
3842ad8ea1
#6284 simplifying tests to a minimum, removing unused auto-generated id field
Marco Pivetta
2017-08-22 21:11:03 +0200
c7281f6ade
#6284 simplifying tests to a minimum, removing unused auto-generated id field
Marco Pivetta
2017-08-22 21:08:06 +0200
a8453dda89
#6284 removing the "WTF" part of the logic - an association cache entry should never ever reach metadata
Marco Pivetta
2017-08-22 21:03:14 +0200
309b286ed3
Add tests for #6217
Waleed Gadelkareem
2017-02-10 17:12:51 +0100
8ad3dfd3bd
Merge branch 'fix/#1521-DDC-2922-defer-checking-non-persisted-entities-through-multiple-differently-mapped-cascading-associations'
Marco Pivetta
2017-08-22 10:26:15 +0200
645cccf2db
#1521 DDC-2922 adapting test so the UnitOfWork
stops bragging about previous inconsistent states
Marco Pivetta
2017-08-22 10:24:46 +0200
2be32f249c
#1521 DDC-2922 adapting UoW and exception implementation to the new specification
Marco Pivetta
2017-08-22 09:57:57 +0200
4a007c76f5
#1521 DDC-2922 spec for a new exception endpoint that produces a multi-new-non-cascaded-entities error message
Marco Pivetta
2017-08-22 09:56:43 +0200
a754eae0f0
#1521 DDC-2922 verifying that persistence operations will resume normally after a crash due to invalid new values detected on associations - tweaked test to make it fail
Marco Pivetta
2017-08-22 08:51:27 +0200
89fbb6a060
#1521 DDC-2922 verifying that persistence operations will resume normally after a crash due to invalid new values detected on associations
Marco Pivetta
2017-08-22 08:49:42 +0200
2751c0fff2
#1521 DDC-2922 minor code cleanup - renaming internal private methods, variables, removing redundant if/else
Marco Pivetta
2017-08-21 20:08:20 +0200
87e8bccb11
#1521 DDC-2922 removed redundant integration test that was replaced by a unit test
Marco Pivetta
2017-08-21 19:58:52 +0200
f39614136f
#1521 DDC-2922 reproducing test scenarios within the UnitOfWorkTest
Marco Pivetta
2017-08-21 19:58:16 +0200
a3208f8d08
#1521 DDC-2922 removed unrelated model usage from test - using minimal models only
Marco Pivetta
2017-08-21 19:47:16 +0200
e21b29c264
#1521 DDC-2922 simplified test case to a minimum reproducible unit
Marco Pivetta
2017-08-21 19:44:38 +0200
b456cffa2d
Move final cascade-persist-checking so that it covers not just normal flushes, but also flushes where specific entities are singled out.
Darien Hager
2015-09-30 21:04:22 -0700
17b996da8c
Speculative fix: Defer any errors for missing cascade-persist until object graph has been better-explored
Darien Hager
2015-09-29 18:44:47 -0700
92dc39bfb9
Add extra assertions to test to ensure that flush actually succeeded in saving all items
Darien Hager
2015-09-29 18:35:57 -0700
997000352a
Add another test to demonstrate the bug doesn't appear if everything is flushed at once.
Darien Hager
2015-09-29 16:59:08 -0700
6f8a80be79
Move failing unit test into ticket-specific case
Darien Hager
2015-09-29 16:45:01 -0700
c4465abaa0
Initial failing test-case to demonstrate cascade-persist problem.
Darien Hager
2015-09-29 16:36:48 -0700
ddccd42bb1
Merge pull request #6636 from Kwadz/annot-ref-update
Marco Pivetta
2017-08-20 08:17:41 +0200
9eaf23a5e0
Mention the nullable default value for @column
Richard
2017-08-20 05:57:00 +0200
36dc28d43e
Merge pull request #6635 from davidbarratt/instantiator
Marco Pivetta
2017-08-19 18:47:32 +0200
a30d8d85ea
Merge branch 'fix/#6303-#6304-check-for-null-discriminator-before-hydrating-inheritance-rows'
Marco Pivetta
2017-08-19 18:37:04 +0200
44f2e22f14
#6303 #6304 documenting why collisions in field name hydration in STI/JTI require additional information and checks in the hydration process
Marco Pivetta
2017-08-19 18:30:33 +0200
4cbcdb761a
#6303 #6304 documenting that the discriminator map order is extremely important for this test
Marco Pivetta
2017-08-19 18:25:44 +0200
0ec9e53c8d
Fix doctrine/instantiator constraint
David Barratt
2017-08-19 11:51:46 -0400
b66643d52e
#6303 #6304 removing useless union type usage
Marco Pivetta
2017-08-19 17:49:14 +0200
42d9162bd5
#6303 #6304 re-enabling disabled test code data
Marco Pivetta
2017-08-19 17:47:12 +0200
8af68614fc
#6303 #6304 correcting type mapping. For simple_array
, [] == null
(which is bullshit), so we use array
here
Marco Pivetta
2017-08-19 17:45:26 +0200
764ab59882
#6303 #6304 making unnecessary visible fields private
Marco Pivetta
2017-08-19 17:06:27 +0200
468496be1a
#6303 #6304 using strict types in the tests
Marco Pivetta
2017-08-19 17:05:44 +0200
e18fb6607d
#6303 #6304 removing duplicate test details
Marco Pivetta
2017-08-19 17:04:26 +0200
2ab363ab82
#6303 #6304 adding void
hints where applicable
Marco Pivetta
2017-08-19 16:53:41 +0200
0882b10213
#6303 #6304 simplified tests, removing references to contract
naming
Marco Pivetta
2017-08-19 16:51:31 +0200
328467c226
#6303 #6304 simplified tests, removing references to contract
naming
Marco Pivetta
2017-08-19 16:48:50 +0200
f6ce69fe29
#6303 #6304 minor CS fixes in the test code - alignment/formatting
Marco Pivetta
2017-08-19 16:37:24 +0200
aaad25a061
#6303 #6304 reverting changes to the OrmFunctionalTestCase
Marco Pivetta
2017-08-19 16:25:20 +0200
c503b81421
#6303 #6304 removing +=
operator usage on arrays (scary\!), CS (alignment)
Marco Pivetta
2017-08-19 16:02:30 +0200
7e7921e32f
#6303 #6304 documenting why the loose comparison is required
Marco Pivetta
2017-08-19 15:58:50 +0200
8cc29e84a0
Update AbstractHydrator.php
fullbl
2017-06-26 10:42:09 +0200
db9c12f1af
comparison on discriminator value with !==
Full
2017-04-02 14:37:29 +0200
82db643b4f
clarified what's the problem in a comment
fullbl
2017-03-19 15:05:29 +0100
4c7286f57b
removed trailing spaces
Full
2017-03-11 20:39:10 +0100
0072054020
moved all test models into test class
Full
2017-03-11 20:37:32 +0100
0b8e468f06
fix wrong pharenthesis
Full
2017-03-11 20:24:46 +0100
bf06b7dbbc
check if array is set before assigning
Full
2017-03-04 17:39:27 +0100
ad3b9de4b8
use dataMap also in first test function
Full
2017-03-04 17:17:31 +0100
6d40859228
added tests on empty values
Full
2017-03-04 15:27:02 +0100
aac523d155
tests with custom inheritance tree
Full
2017-03-04 15:09:29 +0100
671fd50725
Merge pull request #6572 from bitwombat/doc_changes
Marco Pivetta
2017-08-18 21:45:17 +0200
1a0bb82e1d
Merge pull request #6392 from Jean85/pr_1441_rebased
Marco Pivetta
2017-08-18 21:35:54 +0200
aa80f6c0b5
Removed PHPUnit 5.6+ API usage
Marco Pivetta
2017-08-18 21:24:47 +0200
fd6d4890c4
Bumping development release to 2.5.11-DEV
Marco Pivetta
2017-08-18 21:23:23 +0200
c78afd5172
Preparing v2.5.10 release
Marco Pivetta
2017-08-18 21:17:35 +0200
a426808a16
Merge branch 'fix/#6633-#3788-avoid-xml-external-entity-loading-errors-in-xml-mapping-driver'
Marco Pivetta
2017-08-18 21:12:37 +0200
fb7b78c004
Merge branch 'fix/#6633-#3788-avoid-xml-external-entity-loading-errors-in-xml-mapping-driver-2.5' into 2.5
Marco Pivetta
2017-08-18 21:12:12 +0200
0de69e5a80
#6633 #3788 documenting why simplexml_load_file()
was not used
Marco Pivetta
2017-08-18 21:08:14 +0200
d7e1f883d8
XmlDriver: Avoid PHP bug #62577 by avoiding simplexml_load_file.
Aljosha Papsch
2017-08-18 14:23:43 +0200
492fb50744
#6633 #3788 documenting why simplexml_load_file()
was not used
Marco Pivetta
2017-08-18 21:08:14 +0200
c799c6da8b
Add new functional test to check usage of INSTANCEOF with multiple parameters
Alessandro Lai
2017-08-18 13:10:04 +0200
eb762dea23
XmlDriver: Avoid PHP bug #62577 by avoiding simplexml_load_file.
Aljosha Papsch
2017-08-18 14:23:43 +0200
19bc4991ae
Add more CS fixes
Alessandro Lai
2017-08-18 12:35:51 +0200
9864a5a9b9
Add unit test for HierarchyDiscriminatorResolverTest
Alessandro Lai
2017-08-18 12:11:09 +0200
5224a89549
Apply various and CS fixes as per review
Alessandro Lai
2017-08-18 11:02:28 +0200
d4db126bb0
Remove code duplication of the getAllDiscriminators method
Alessandro Lai
2017-08-18 10:17:52 +0200
60e29b40a0
Merge branch 'fix/#5579-fix-performance-of-single-entity-flush-with-notify-tracking-policy'
Marco Pivetta
2017-08-18 09:30:43 +0200
496c22db0e
#5579 completely removing a changeset when cleaning up
Marco Pivetta
2017-08-18 09:27:47 +0200
1bf8465f43
#5579 correcting assertion static/instance method usage
Marco Pivetta
2017-08-18 09:25:47 +0200
ff15a2bc79
#5579 correcting visibility of clearEntityChangeSet
, which should be reverted to public
Marco Pivetta
2017-08-18 09:23:28 +0200
9d7be0f927
#5579 s/clear/cleanup
Marco Pivetta
2017-08-18 09:22:23 +0200
2921f068b7
#5579 cleaning up postCommitClear
implementation
Marco Pivetta
2017-08-18 09:21:53 +0200
9707701d10
#5579 isolating multi-entity-commit and single-entity-commit scenarios for the tracking policy changeset clearing
Marco Pivetta
2017-08-18 09:15:48 +0200
df1577db0c
#5579 cleaning up test case, adding assertions critical to the understanding of the code
Marco Pivetta
2017-08-18 09:13:56 +0200
866a424963
Fix issue when using notify tracking policy with multiple flush on entity
xhuberty
2016-01-12 15:01:34 +0100
74c83f3cec
Fix format and content as-per discussion in PR
Greg Bell
2017-08-18 15:20:17 +1000
5770459bfc
#6441 moving expected exception annotations into explicit method calls
Marco Pivetta
2017-08-18 04:44:17 +0200
94640aca88
Merge pull request #6441 from sensorario/remove-loosely-comparison
Marco Pivetta
2017-08-18 04:38:20 +0200
fda770700a
Merge pull request #6579 from Nek-/patch-1
Marco Pivetta
2017-08-18 04:33:04 +0200
da109c36b7
Merge pull request #6630 from doctrine/fix/remove-reliance-on-yaml-deprecated-constants
Marco Pivetta
2017-08-16 20:52:18 +0200
40515472c1
Bumping ORM YAML dependency to 3.4+, explicitly forbidding compatibility with older YAML component versions
Marco Pivetta
2017-08-16 20:21:26 +0200
bb994b9e70
Removing reference to deprecated YAML component constant that is ignored after symfony 3.4
Marco Pivetta
2017-08-16 20:20:22 +0200
82e0d7e21a
Removing ::class
meta-constant for tests that need to run against my grandparents' PHP
Marco Pivetta
2017-08-16 20:06:14 +0200
76e2155fb3
Merge branch 'feature/#6593-#5864-export-metadata-should-contain-entity-listeners'
Marco Pivetta
2017-08-16 19:58:23 +0200
894490c2a0
#6593 #5864 removing incorrect null
return value in API marked as string
Marco Pivetta
2017-08-16 19:57:26 +0200
e1acba3ae4
#6593 #5864 reverted all public/protected API parameter and return type changes
Marco Pivetta
2017-08-16 19:53:32 +0200
26880983fc
Removing ::class
meta-constant for tests that need to run against my grandparents' PHP
Marco Pivetta
2017-08-16 19:24:39 +0200
d9899732ca
Bumping development release to v2.5.10DEV
Marco Pivetta
2017-08-16 15:30:59 +0200
4f96fc62ce
Preparing v2.5.9 release
Marco Pivetta
2017-08-16 15:30:32 +0200
9005c5afdd
Merge branch 'fix/#6626-skip-proxy-generation-for-embeddable-classes'
Marco Pivetta
2017-08-16 15:23:46 +0200