Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Fritsch committed Jan 8, 2025
1 parent e156318 commit 27e9d0d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Drupal\Tests\thunder_gqls\Kernel\DataProducer;

use Drupal\node\NodeInterface;
use Drupal\Tests\graphql\Kernel\GraphQLTestBase;
use Drupal\node\Entity\Node;
use Drupal\node\Entity\NodeType;
Expand All @@ -13,6 +14,13 @@
*/
class EntityLinksTest extends GraphQLTestBase {

/**
* The node entity.
*
* @var \Drupal\node\Entity\Node
*/
protected NodeInterface $node;

/**
* {@inheritdoc}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public function testMediaEditInArticle(): void {

$this->getSession()->getPage()->checkField('media[image][_field_selector][field_copyright]');
$this->getSession()->getPage()->fillField('media[image][field_copyright][0][value]', 'Test copyright');
$this->getSession()->getPage()->selectFieldOption('media[image][field_copyright_change_method]', 'replace');

$this->assertSession()->elementExists('css', '.ui-dialog-buttonpane')->pressButton('Confirm');

Expand Down

0 comments on commit 27e9d0d

Please sign in to comment.