|
Tripal
|


Public Member Functions | |
| testTripalEntitySaveContent (int $current_scenario_key, string $current_scenario_label) | |
| testSetAliasOutsideOfSave () | |
Static Public Member Functions | |
| static | provideScenarios () |
Protected Member Functions | |
| setUp () | |
Protected Member Functions inherited from Drupal\Tests\tripal\Kernel\TripalTestKernelBase | |
| prepareEnvironment (array $functionality) | |
Protected Attributes | |
| object | $drupal_connection |
| string | $yaml_info_file = __DIR__ . '/TripalEntityTokenFormatsTest-TestInfo.yml' |
| array | $system_under_test |
| string | $bundle_name |
| array | $scenarios |
Protected Attributes inherited from Drupal\Tests\tripal\Kernel\TripalTestKernelBase | |
| $messenger = NULL | |
| $logger = NULL | |
| $fileretriever = NULL | |
| $publish_manager = NULL | |
Static Protected Attributes | |
| static | $modules = ['system', 'user', 'path', 'path_alias', 'field', 'datetime', 'tripal'] |
Static Protected Attributes inherited from Drupal\Tests\tripal\Kernel\TripalTestKernelBase | |
| static | $modules = ['tripal'] |
Tests the TripalEntity URL alias system specifically.
@group TripalEntity @group TripalTokenParser
|
static |
Data Provider: works with the YAML to provide scenarios for testing.
|
protected |
{{}}
Reimplemented from Drupal\Tests\tripal\Kernel\TripalTestKernelBase.
| Drupal\Tests\tripal\Kernel\Entity\TripalEntityTokenFormatsTest::testSetAliasOutsideOfSave | ( | ) |
Updates the URL alias after create without saving the entity.
| Drupal\Tests\tripal\Kernel\Entity\TripalEntityTokenFormatsTest::testTripalEntitySaveContent | ( | int | $current_scenario_key, |
| string | $current_scenario_label | ||
| ) |
Tests that TripalEntity::save() handles URL alias' + titles.
| int | $current_scenario_key | The key of the scenario in the YAML. |
| string | $current_scenario_label | The label of the scenario in the YAML. |
@dataProvider provideScenarios
|
staticprotected |
{}