Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Chi-teck committed Mar 3, 2024
1 parent 080f880 commit 08e75b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/functional/Generator/HookTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ final class HookTest extends GeneratorTestBase {
protected string $fixtureDir = __DIR__ . '/_hook';

public function testGenerator(): void {
if (\str_starts_with(\getenv('DCG_DRUPAL_VERSION') ?: '', '10.1')) {
// @todo Remove this once we drop support for Drupal 10.2.
if (\version_compare(\Drupal::VERSION, '10.3', '<')) {
self::markTestSkipped();
}
$this->execute(Hook::class, ['example', 'Example', 'theme']);
Expand Down

0 comments on commit 08e75b9

Please sign in to comment.