Results
02.06.2024
reviewer 1.2.x-dev ::
modules/reviewer_test_kit/tests/src/Kernel/Entity/EntityTaskBaseTestBase.php
'datetime',
'filter',
'filter_test',
'field',
'field_layout',
'layout_discovery',
'node',
'text',
'user', 18.05.2020
smart_trim 8.x-1.3 ::
tests/src/Functional/SmartTrimHooksTest.php
'token_filter',
'smart_trim',
'filter_test',
'field_ui',
'smart_trim_hooks_test',
];
/**
* A user.
'body' => [
'value' => 'I used to bull\'s-eye womp rats in my T-sixteen back home.',
'format' => 'filter_test',
],
])->save();
}
/** 18.05.2020
smart_trim 8.x-1.3 ::
tests/src/Functional/SmartTrimTranslationTest.php
'token_filter',
'smart_trim',
'filter_test',
'field_ui',
'smart_trim_translation_test',
'locale',
];
/**
'body' => [
'value' => 'I used to bull\'s-eye womp rats in my T-sixteen back home.',
'format' => 'filter_test',
],
])->save();
smart_trim_translation_test_add_translation('More', 'MMMMMOOOORRRREEEE', 'en');
$this->config('locale.settings')->set('translate_english', 1)->save();
} 18.05.2020
smart_trim 8.x-1.3 ::
tests/src/Functional/SmartTrimFunctionalTest.php
'token_filter',
'smart_trim',
'filter_test',
'field_ui',
];
/**
* A user with authenticated permissions.
*
'body' => [
'value' => "Test [node:content-type]\r\n ",
'format' => 'filter_test',
],
])->save();
$this->drupalCreateNode([
'title' => $this->randomString(),
'id' => 2,
'body' => [
'value' => '<h3>The situation</h3><p>is dire</p><p>& there is no hope.</p><p>Full stop should not be preceded by <em>space</em>. Really, they should not be.</p>',
'format' => 'filter_test',
],
])->save();
NodeType::create(['type' => 'plain_text_test', 'name' => 'Plain text test'])->save();
// Create Description field. 18.05.2020
smart_trim 8.x-1.3 ::
tests/src/Functional/SmartTrimTemplateTest.php
'token_filter',
'smart_trim',
'filter_test',
'field_ui',
];
/**
* A user with admin permissions.
*
'body' => [
'value' => 'Test [node:content-type]',
'format' => 'filter_test',
],
'field_wrapped' => [
'value' => 'Test wrapped field',
'format' => 'filter_test',
],
'field_unwrapped' => [
'value' => 'Test unwrapped field',
'format' => 'filter_test',
],
])->save();
}
/**
'body' => [
'value' => 'Playful pup fetches joy, wagging tail brightens hearts with love.',
'format' => 'filter_test',
],
])->save();
$this->drupalGet('/node/2');
$query = $this->xpath('//div[@id="body"]/div/p[text()="Playful pup fetches joy, wagging tail brightens hearts with love."]');
$this->assertCount(1, $query);
$query = $this->xpath('//div[@id="body-trim-20-chars" and text()="Playful pup fetches"]'); 18.01.2021
tinymce 1.x-dev ::
tests/src/Kernel/TinyMCETest.php
'editor',
'tinymce',
'filter_test',
];
/**
* An instance of the "TinyMCE" text editor plugin.
*
* @var \Drupal\tinymce\Plugin\Editor\TinyMCE 27.04.2020
token_filter 8.x-1.2 ::
tests/src/Functional/TokenFilterFunctionalTest.php
'field',
'text',
'filter_test',
];
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark'; 22.11.2021
workbench_moderation_migrate 1.0.0-alpha4 ::
tests/fixtures/wm-drupal7/system.php
->values(array( 'filename' => 'modules/simpletest/tests/filter_test.module', 'name' => 'filter_test', 'type' => 'module', 'owner' => '', 'status' => '0', 'bootstrap' => '0', 'schema_version' => '-1', 'weight' => '0',
27.09.2019
workflow_participants 8.x-2.x-dev ::
tests/src/Kernel/ParticipantNotifierTest.php
* {@inheritdoc}
*/
protected static $modules = ['token', 'filter_test'];
/**
* Test fixture.
*
* @var \Drupal\workflow_participants\ParticipantNotifierInterface
*/
$this->accounts[$i] = $this->createUser(['can be workflow participant']);
}
$this->installConfig($this->installConfig(['filter_test']));
}
/**
* Tests new participants.
*/
public function testGetNewParticipants() { 27.09.2019
workflow_participants 8.x-2.x-dev ::
tests/src/Kernel/NotificationsTest.php
protected static $modules = [
'content_moderation_notifications',
'filter_test',
];
/**
* Participants.
*
* @var \Drupal\user\UserInterface[]
parent::setUp();
$this->installConfig(['filter_test']);
$this->installSchema('system', ['sequences']);
// Dummy UID 1.
$this->createUser();
// Setup site email. 10.08.2020
wysiwyg_template 3.0.x-dev ::
src/Tests/Form/CrudTest.php
* {@inheritdoc}
*/
public static $modules = ['wysiwyg_template', 'filter_test', 'node'];
/**
* {@inheritdoc}
*/
public function setUp() {
parent::setUp();
/** @var \Drupal\wysiwyg_template_core\TemplateInterface $template */
$template = Template::load($id);
$this->assertEqual('filter_test', $template->getFormat());
// Edit.
$this->drupalGet($template->toUrl('edit-form'));
$edit['label'] = $this->randomString(12);
unset($edit['id']);
$this->drupalPostForm(NULL, $edit, t('Save')); Pages
- « first
- ‹ previous
- 1
- 2
- 3
