12 calls to ResourceTestBase::refreshTestStateAfterRestConfigChange() in Drupal 8
- EntityResourceTestBase::testDelete in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ EntityResourceTestBase.php - Tests a DELETE request for an entity, plus edge cases to ensure good DX.
- EntityResourceTestBase::testGet in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ EntityResourceTestBase.php - Test a GET request for an entity, plus edge cases to ensure good DX.
- EntityResourceTestBase::testPatch in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ EntityResourceTestBase.php - Tests a PATCH request for an entity, plus edge cases to ensure good DX.
- EntityResourceTestBase::testPost in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ EntityResourceTestBase.php - Tests a POST request for an entity, plus edge cases to ensure good DX.
- FileUploadResourceTestBase::setUp in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - FileUploadResourceTestBase::testFileUploadLargerFileSize in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload route with a file size larger than allowed.
- FileUploadResourceTestBase::testFileUploadMaliciousExtension in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload POST route with malicious extensions.
- FileUploadResourceTestBase::testFileUploadNoExtensionSetting in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload POST route no extension configured.
- FileUploadResourceTestBase::testFileUploadStrippedFilePath in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload route with any path prefixes being stripped.
- MediaResourceTestBase::uploadFile in core/
modules/ media/ tests/ src/ Functional/ Rest/ MediaResourceTestBase.php - This duplicates some of the 'file_upload' REST resource plugin test coverage, to be able to test it on a concrete use case.
- ResourceTestBase::provisionResource in core/
modules/ rest/ tests/ src/ Functional/ ResourceTestBase.php - Provisions the REST resource under test.
- ResourceTestBase::setUp in core/
modules/ rest/ tests/ src/ Functional/ ResourceTestBase.php