- Issue created by @tedbow
- πΊπΈUnited States tedbow Ithaca, NY, USA
Asking for @wim leers review again. The test cases are being moved to
\Drupal\Tests\experience_builder\Kernel\ClientServerConversionTraitTest::testConvertClientToServerErrors
- or
\Drupal\Tests\experience_builder\Kernel\ClientDataToEntityConverterTest::testConvert
if the errors are caught in\Drupal\experience_builder\Controller\ClientServerConversionTrait::convertClientToServer
but only caught in\Drupal\experience_builder\ClientDataToEntityConverter::convert
\Drupal\Tests\experience_builder\Functional\ApiContentUpdateForDemoControllerTest::testSave
is still left with test cases that prove that if the call to
$violations = $this->clientDataToEntityConverter->convert(json_decode($request->getContent(), TRUE), $entity);
gets an error entity will not be saved
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
I'd love to see @larowlan approve this too, or suggest an alternative π€
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
I think this controller is temporary code so this unblocks more work
-
wim leers β
committed 7de4064f on 0.x authored by
tedbow β
Issue #3494273 by tedbow, wim leers, larowlan: Move logic out of...
-
wim leers β
committed 7de4064f on 0.x authored by
tedbow β