Problem/Motivation

This module provides a block. There is no test that checks whether this block can be placed using block layout.

The blocking be found in web/modules/contrib/webform_analysis/src/Plugin/Block/WebformAnalysisBlock.php

Proposed resolution

Create a PHP unit test. Use a similar test from Drupal as an example.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

batigolix created an issue. See original summary.

batigolix’s picture

batigolix’s picture

Status: Active » Needs review
ankitv18’s picture

Status: Needs review » Reviewed & tested by the community

MR is clean and phpunit perform most of the assertions, hence moving into RTBC

batigolix’s picture

Status: Reviewed & tested by the community » Fixed

  • batigolix committed c60e886d on 8.x-1.x
    Issue #3532726 by batigolix, ankitv18: Create a PHP unit test for...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.