* Tests font not displayed even when Arial is loaded.
*/
public function testFontNotDisplayed() {
- $this->drupalGet(url::fromRoute('entity.font.enable', ['font' => 1, 'js' => 'nojs']));
+ $this->drupalGet(url::fromRoute('entity.font.activate', ['font' => 1, 'js' => 'nojs']));
$this->resetAll();
// Assert no fonts load to start.
$this->drupalGet('/node');
* Tests font displayed once added in FontDisplay.
*/
public function testFontDisplayedViaFontDisplayRule() {
- $this->drupalGet(url::fromRoute('entity.font.enable', ['font' => 1, 'js' => 'nojs']));
+ $this->drupalGet(url::fromRoute('entity.font.activate', ['font' => 1, 'js' => 'nojs']));
$edit = [
'label' => 'Headers',