Repository navigation
Add test for PROPPATCH with complex values - #32675
Conversation
|
we could either reuse this PR for the fix or merge this with a "skip" tag |
| */ | ||
| public function userHasSetPropertyOfEntryTo( | ||
| $user, $propertyName, $path, $propertyValue | ||
| $user, $propertyName, $path, $complex = '', $propertyValue |
There was a problem hiding this comment.
PHPdoc needed for complex param.
| ) { | ||
| $client = $this->getSabreClient($user); | ||
| if ($complex === 'complex') { | ||
| $propertyValue = new Complex($propertyValue); |
There was a problem hiding this comment.
That was way too easy :)
Adds acceptance tests on for Webdav PROPPATCH with values containing sub-tags.
54fbfdc to
9aab6c0
Compare
|
Squashed and updated as per comments. I also added a skip tag. |
|
apiWebdavProperties passed on CI, ignoring others... |
|
stable10: #32680 |
|
Why is there an acceptance test on it's own for this? litmus is testing the same thing - right? |
|
|
@DeepDiver1975 Litmus did not detect this. It seems it doesn't compare the result of the PROPFIND to see that it's not "Object". This is why we never saw it fail on MySQL. This just got apparent with Oracle because Oracle refused to store the empty string / non-string object. |
That is why we also need to investigate and evaluate the old test suites and tools being used in the past. Do we know what and how they test? Are the assumptions from the past still the same today? ( we learned a lot in the past months/years about the product - please but that to a good use ) |
I was missing this - thanks for clarifying. In this case it is quite valid to extend the test suites and add additional scenarios. |
Description
Adds acceptance tests on for Webdav PROPPATCH with values containing
sub-tags.
Related Issue
Motivation and Context
How Has This Been Tested?
It's a test
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: