protected function EquipmentFieldTest::setUp in farmOS 2.x
Overrides FarmBrowserTestBase::setUp
File
- modules/
asset/ equipment/ tests/ src/ Functional/ EquipmentFieldTest.php, line 36
Class
- EquipmentFieldTest
- Tests the equipment used field.
Namespace
Drupal\Tests\farm_equipment\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Create and login a user with permission to administer assets and logs.
$this->user = $this
->createUser([
'administer assets',
'administer log',
]);
$this
->drupalLogin($this->user);
}