Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: csp config for UNTV #311

Merged
merged 1 commit into from
Oct 14, 2024
Merged

Conversation

lazysoundsystem
Copy link
Contributor

Refs: IASC-802

Copy link

Coverage Report

Totals Coverage
Statements: 18.99% ( 98 / 516 )
Methods: 35.71% ( 10 / 28 )
Lines: 18.03% ( 88 / 488 )

Copy link

Test run output

Composer Validate success

PHP Lint success

Docker Build success

Environment Setup success

Site Install success

PHP Code Sniffer success

Software Versions PHP 8.2.24 (cli) (built: Sep 25 2024 00:29:08) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.24, Copyright (c) Zend Technologies with Zend OPcache v8.2.24, Copyright (c), by Zend Technologies with Xdebug v3.3.2, Copyright (c) 2002-2024, by Derick Rethans Composer version 2.8.1 2024-10-04 11:31:01
Composer Validate ./composer.json is valid, but with a few warnings See https://getcomposer.org/doc/04-schema.md for details on the schema # General warnings - The version field is present, it is recommended to leave it out if the package is published on Packagist.
PHP Lint No syntax errors detected in ./html/modules/custom/slt_contacts/slt_contacts.module No syntax errors detected in ./html/modules/custom/slt_layouts/slt_layouts.module No syntax errors detected in ./html/modules/custom/slt_contacts/src/Plugin/views/sort/HierarchicalSecurityTitleSort.php No syntax errors detected in ./html/modules/custom/slt_contacts/src/Form/SltContactsImportContactsForm.php No syntax errors detected in ./html/modules/custom/linked_responsive_image_media_formatter/linked_responsive_image_media_formatter.module No syntax errors detected in ./html/modules/custom/slt_layouts/src/Plugin/Layout/GridLayout.php No syntax errors detected in ./html/modules/custom/linked_responsive_image_media_formatter/tests/src/Functional/FieldFormatter/LinkedResponsiveImageMediaFormatterTest.php No syntax errors detected in ./html/modules/custom/linked_responsive_image_media_formatter/src/Plugin/Field/FieldFormatter/LinkedResponsiveImageMediaFormatter.php No syntax errors detected in ./html/modules/custom/paragraphs_page_title/paragraphs_page_title.module No syntax errors detected in ./html/modules/custom/slt_general/slt_general.module No syntax errors detected in ./html/modules/custom/slt_general/tests/src/ExistingSite/HomePageTest.php No syntax errors detected in ./html/modules/custom/telephone_type/tests/src/Functional/TelephoneTypeFieldTest.php No syntax errors detected in ./html/modules/custom/telephone_type/tests/src/Kernel/TelephoneTypeItemTest.php No syntax errors detected in ./html/modules/custom/telephone_type/src/Plugin/Field/FieldFormatter/TelephoneTypeDefaultFormatter.php No syntax errors detected in ./html/modules/custom/telephone_type/src/Plugin/Field/FieldFormatter/TelephoneTypeLinkFormatter.php No syntax errors detected in ./html/modules/custom/telephone_type/src/Plugin/Field/FieldType/TelephoneTypeItem.php No syntax errors detected in ./html/modules/custom/telephone_type/telephone_type.module No syntax errors detected in ./html/modules/custom/telephone_type/src/Plugin/Field/FieldWidget/TelephoneTypeDefaultWidget.php No syntax errors detected in ./html/modules/custom/slt_access/src/SltAccessPermissions.php No syntax errors detected in ./html/modules/custom/slt_access/slt_access.module No syntax errors detected in ./html/themes/custom/common_design_subtheme/src/CommonDesignSubthemeCallbacks.php No syntax errors detected in ./html/themes/custom/common_design_subtheme/common_design_subtheme.theme
PHPCS ...................... 22 / 22 (100%)

Time: 2.78 secs; Memory: 20MB

Tests PHPUnit 9.6.21 by Sebastian Bergmann and contributors.

Testing
Test 'Drupal\Tests\linked_responsive_image_media_formatter\Functional\FieldFormatter\LinkedResponsiveImageMediaFormatterTest::testRender with data set "Responsive image style only" (array('responsive_image_style', '', '', 'image', '', false), array(array(array('/files/styles/thumbnail/publi...le.png')), array(array('/files/styles/large/public/example.png')), array(array('test image alt text'))))' started
Test 'Drupal\Tests\linked_responsive_image_media_formatter\Functional\FieldFormatter\LinkedResponsiveImageMediaFormatterTest::testRender with data set "Responsive image style only" (array('responsive_image_style', '', '', 'image', '', false), array(array(array('/files/styles/thumbnail/publi...le.png')), array(array('/files/styles/large/public/example.png')), array(array('test image alt text'))))' ended
Test 'Drupal\Tests\linked_responsive_image_media_formatter\Functional\FieldFormatter\LinkedResponsiveImageMediaFormatterTest::testRender with data set "Responsive image with custom alt text" (array('responsive_image_style', '', '', 'custom', 'Custom alt text', false), array(array(array('Custom alt text'))))' started
Test 'Drupal\Tests\linked_responsive_image_media_formatter\Functional\FieldFormatter\LinkedResponsiveImageMediaFormatterTest::testRender with data set "Responsive image with custom alt text" (array('responsive_image_style', '', '', 'custom', 'Custom alt text', false), array(array(array('Custom alt text'))))' ended
Test 'Drupal\Tests\linked_responsive_image_media_formatter\Functional\FieldFormatter\LinkedResponsiveImageMediaFormatterTest::testRender with data set "Responsive image with custom alt text using a token" (array('responsive_image_style', '', '', 'custom', '[node:title]', false), array(array(array(array('getTestNodeTitle')))))' started
Test 'Drupal\Tests\linked_responsive_image_media_formatter\Functional\FieldFormatter\LinkedResponsiveImageMediaFormatterTest::testRender with data set "Responsive image with custom alt text using a token" (array('responsive_image_style', '', '', 'custom', '[node:title]', false), array(array(array(array('getTestNodeTitle')))))' ended
Test 'Drupal\Tests\linked_responsive_image_media_formatter\Functional\FieldFormatter\LinkedResponsiveImageMediaFormatterTest::testRender with data set "Responsive image with link to media" (array('responsive_image_style', 'media', '', 'image', '', false), array(array(array(array('getTestMediaUrl')))))' started
Test 'Drupal\Tests\linked_responsive_image_media_formatter\Functional\FieldFormatter\LinkedResponsiveImageMediaFormatterTest::testRender with data set "Responsive image with link to media" (array('responsive_image_style', 'media', '', 'image', '', false), array(array(array(array('getTestMediaUrl')))))' ended
Test 'Drupal\Tests\linked_responsive_image_media_formatter\Functional\FieldFormatter\LinkedResponsiveImageMediaFormatterTest::testRender with data set "Responsive image with link to image" (array('responsive_image_style', 'image', '', 'image', '', false), array(array(array(array('getTestImageUrl')))))' started
Test 'Drupal\Tests\linked_responsive_image_media_formatter\Functional\FieldFormatter\LinkedResponsiveImageMediaFormatterTest::testRender with data set "Responsive image with link to image" (array('responsive_image_style', 'image', '', 'image', '', false), array(array(array(array('getTestImageUrl')))))' ended
Test 'Drupal\Tests\linked_responsive_image_media_formatter\Functional\FieldFormatter\LinkedResponsiveImageMediaFormatterTest::testRender with data set "Responsive image with custom link" (array('responsive_image_style', 'custom', 'https://example.org', 'image', '', false), array(array(array('https://example.org')), array(array('test image alt text'))))' started
Test 'Drupal\Tests\linked_responsive_image_media_formatter\Functional\FieldFormatter\LinkedResponsiveImageMediaFormatterTest::testRender with data set "Responsive image with custom link" (array('responsive_image_style', 'custom', 'https://example.org', 'image', '', false), array(array(array('https://example.org')), array(array('test image alt text'))))' ended
Test 'Drupal\Tests\linked_responsive_image_media_formatter\Functional\FieldFormatter\LinkedResponsiveImageMediaFormatterTest::testRender with data set "Responsive image with custom link using a token" (array('responsive_image_style', 'custom', '[node:url]', 'image', '', false), array(array(array(array('getTestNodeUrl')))))' started
Test 'Drupal\Tests\linked_responsive_image_media_formatter\Functional\FieldFormatter\LinkedResponsiveImageMediaFormatterTest::testRender with data set "Responsive image with custom link using a token" (array('responsive_image_style', 'custom', '[node:url]', 'image', '', false), array(array(array(array('getTestNodeUrl')))))' ended
Test 'Drupal\Tests\linked_responsive_image_media_formatter\Functional\FieldFormatter\LinkedResponsiveImageMediaFormatterTest::testRender with data set "Responsive image with custom entity link" (array('responsive_image_style', 'custom', 'entity:node/1', 'image', '', false), array(array(array(array('getTestNodeUrl'))), array(array('test image alt text'))))' started
Test 'Drupal\Tests\linked_responsive_image_media_formatter\Functional\FieldFormatter\LinkedResponsiveImageMediaFormatterTest::testRender with data set "Responsive image with custom entity link" (array('responsive_image_style', 'custom', 'entity:node/1', 'image', '', false), array(array(array(array('getTestNodeUrl'))), array(array('test image alt text'))))' ended
Test 'Drupal\Tests\linked_responsive_image_media_formatter\Functional\FieldFormatter\LinkedResponsiveImageMediaFormatterTest::testRender with data set "Responsive image with image as background" (array('responsive_image_style', 'custom', 'https://example.org', 'image', '', true), array(array(array('https://example.org')), array(array('')), array('test image alt text')))' started
Test 'Drupal\Tests\linked_responsive_image_media_formatter\Functional\FieldFormatter\LinkedResponsiveImageMediaFormatterTest::testRender with data set "Responsive image with image as background" (array('responsive_image_style', 'custom', 'https://example.org', 'image', '', true), array(array(array('https://example.org')), array(array('')), array('test image alt text')))' ended
Test 'Drupal\Tests\linked_responsive_image_media_formatter\Functional\FieldFormatter\LinkedResponsiveImageMediaFormatterTest::testRender with data set "Responsive image with image as background and custom link and alt with tokens" (array('responsive_image_style', 'custom', '[node:url]', 'custom', '[node:title]', true), array(array(array(array('getTestNodeUrl'))), array(array('')), array(array('getTestNodeTitle'))))' started
Test 'Drupal\Tests\linked_responsive_image_media_formatter\Functional\FieldFormatter\LinkedResponsiveImageMediaFormatterTest::testRender with data set "Responsive image with image as background and custom link and alt with tokens" (array('responsive_image_style', 'custom', '[node:url]', 'custom', '[node:title]', true), array(array(array(array('getTestNodeUrl'))), array(array('')), array(array('getTestNodeTitle'))))' ended
Test 'Drupal\Tests\telephone_type\Functional\TelephoneTypeFieldTest::testTelephoneTypeWidget' started
Test 'Drupal\Tests\telephone_type\Functional\TelephoneTypeFieldTest::testTelephoneTypeWidget' ended
Test 'Drupal\Tests\telephone_type\Functional\TelephoneTypeFieldTest::testTelephoneTypeDefaultFormatter with data set "Phone number with type" (array('Business', '1234 56789'), array('Business: 1234 56789', 'Business'))' started
Test 'Drupal\Tests\telephone_type\Functional\TelephoneTypeFieldTest::testTelephoneTypeDefaultFormatter with data set "Phone number with type" (array('Business', '1234 56789'), array('Business: 1234 56789', 'Business'))' ended
Test 'Drupal\Tests\telephone_type\Functional\TelephoneTypeFieldTest::testTelephoneTypeDefaultFormatter with data set "Phone number without type" (array('', '1234 56789'), array('1234 56789', 'Phone...er'))' started
Test 'Drupal\Tests\telephone_type\Functional\TelephoneTypeFieldTest::testTelephoneTypeDefaultFormatter with data set "Phone number without type" (array('', '1234 56789'), array('1234 56789', 'Phone...er'))' ended
Test 'Drupal\Tests\telephone_type\Functional\TelephoneTypeFieldTest::testTelephoneTypeLinkFormatter with data set "Phone number with type" (array('Business', '1234 56789'), array('Business: 1234 56789', 'Business'))' started
Test 'Drupal\Tests\telephone_type\Functional\TelephoneTypeFieldTest::testTelephoneTypeLinkFormatter with data set "Phone number with type" (array('Business', '1234 56789'), array('Business: 1234 56789', 'Business'))' ended
Test 'Drupal\Tests\telephone_type\Functional\TelephoneTypeFieldTest::testTelephoneTypeLinkFormatter with data set "Phone number without type" (array('', '1234 56789'), array('1234 56789', 'Phone...er'))' started
Test 'Drupal\Tests\telephone_type\Functional\TelephoneTypeFieldTest::testTelephoneTypeLinkFormatter with data set "Phone number without type" (array('', '1234 56789'), array('1234 56789', 'Phone...er'))' ended
Test 'Drupal\Tests\telephone_type\Kernel\TelephoneTypeItemTest::testTestItem' started
Test 'Drupal\Tests\telephone_type\Kernel\TelephoneTypeItemTest::testTestItem' ended
Test 'Drupal\Tests\slt_general\ExistingSite\HomePageTest::testHomePage' started
Test 'Drupal\Tests\slt_general\ExistingSite\HomePageTest::testHomePage' ended

Time: 03:55.575, Memory: 46.50 MB

OK (17 tests, 173 assertions)

HTML output was generated
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-1-29013268.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-2-29013268.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-3-29013268.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-4-87787016.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-5-87787016.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-6-87787016.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-7-99775406.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-8-99775406.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-9-99775406.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-10-64564373.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-11-64564373.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-12-64564373.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-13-63823433.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-14-63823433.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-15-63823433.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-16-22731257.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-17-22731257.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-18-22731257.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-19-44151341.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-20-44151341.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-21-44151341.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-22-60599954.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-23-60599954.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-24-60599954.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-25-55453691.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-26-55453691.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-27-55453691.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-28-70617998.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-29-70617998.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_linked_responsive_image_media_formatter_Functional_FieldFormatter_LinkedResponsiveImageMediaFormatterTest-30-70617998.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-1-11859313.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-2-11859313.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-3-11859313.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-4-93911133.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-5-93911133.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-6-93911133.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-7-93911133.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-8-93911133.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-9-15532587.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-10-15532587.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-11-15532587.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-12-15532587.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-13-15532587.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-14-22304973.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-15-22304973.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-16-22304973.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-17-22304973.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-18-22304973.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-19-35571714.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-20-35571714.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-21-35571714.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-22-35571714.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_telephone_type_Functional_TelephoneTypeFieldTest-23-35571714.html
http://127.0.0.1/sites/simpletest/browser_output/Drupal_Tests_slt_general_ExistingSite_HomePageTest-1-dtt.html

Generating code coverage report in Clover XML format ... done [00:00.099]

Generating code coverage report in HTML format ... done [00:00.063]

Generating code coverage report in PHPUnit XML format ... done [00:00.121]

Remaining self deprecation notices (169)

Remaining direct deprecation notices (4)

Remaining indirect deprecation notices (16)

Other deprecation notices (2)

[success] Successfully enabled: dblog

Drupal Logs
PHP Logs

Pusher: @lazysoundsystem, Action: pull_request, Workflow: Run tests

@lazysoundsystem lazysoundsystem merged commit 3150345 into develop Oct 14, 2024
2 checks passed
@lazysoundsystem lazysoundsystem deleted the IASC-802-csp-for-untv branch October 14, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant