Skip to content

Commit

Permalink
replace usage of deprecated EntityReferenceTestTrait by EntityReferen…
Browse files Browse the repository at this point in the history
…ceFieldCreationTrait
  • Loading branch information
WengerK committed Feb 20, 2024
1 parent 3c77d47 commit f52bb5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- update codebase to be compliant PHP8.2
- rework tests by using a custom theme "bamboo_twig" in order of overriding *.html.twig template for tests purpose
- change Blocks rendered via bamboo_render_block do not use the block theme hook - Issue #3110310 by wengerk, rattusrattus, sahaj, interdruper, gido
- replace usage of deprecated EntityReferenceTestTrait by EntityReferenceFieldCreationTrait

### Added
- add coverage of Drupal 10.1.x
Expand Down
2 changes: 1 addition & 1 deletion tests/src/Functional/BambooTwigTestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Drupal\Core\Field\FieldStorageDefinitionInterface;
use Drupal\language\Entity\ConfigurableLanguage;
use Drupal\Tests\BrowserTestBase;
use Drupal\Tests\field\Traits\EntityReferenceTestTrait;
use Drupal\Tests\field\Traits\EntityReferenceFieldCreationTrait;

Check warning on line 8 in tests/src/Functional/BambooTwigTestBase.php

View workflow job for this annotation

GitHub Actions / phpcs

Unused use statement

/**
* Has some additional helper methods to make test code more readable.
Expand Down

0 comments on commit f52bb5e

Please sign in to comment.