Skip to content

Commit

Permalink
Update asset references in AssetTest.php.
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Dec 15, 2023
1 parent 58a4dee commit e118374
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/AssetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,8 @@ public function testBootstrapAssetRegister(): void
$language = Yii::$app->language;
$result = $this->view->renderFile(__DIR__ . '/Support/main.php', ['widget' => '']);

$this->assertStringContainsString('bootstrap.css', $result);
$this->assertStringContainsString('summernote-bs5.css', $result);
$this->assertStringContainsString('bootstrap.bundle.js', $result);
$this->assertStringContainsString('summernote-bs5.js', $result);
$this->assertStringContainsString('summernote.css', $result);
$this->assertStringContainsString('summernote.js', $result);
$this->assertStringContainsString("lang/summernote-$language.js", $result);
}
}

0 comments on commit e118374

Please sign in to comment.