mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 04:23:34 +00:00
Extract shared settings-layout components and a dedicated team danger-zone page. Enable modal editing for security resources, polish OAuth/API-token controls, and align notification and service configuration UI with the new navigation patterns.
16 lines
679 B
PHP
16 lines
679 B
PHP
<?php
|
|
|
|
it('uses distinct icons for each keys and tokens navigation item', function () {
|
|
$layout = file_get_contents(resource_path('views/components/security/settings-layout.blade.php'));
|
|
$icons = file_get_contents(resource_path('views/components/reicon.blade.php'));
|
|
|
|
expect($layout)
|
|
->toContain("'label' => 'Private Keys'", "'icon' => 'keys'")
|
|
->toContain("'label' => 'Cloud Tokens'", "'icon' => 'cloud'")
|
|
->toContain("'label' => 'Cloud-Init Scripts'", "'icon' => 'file-content'")
|
|
->toContain("'label' => 'API Tokens'", "'icon' => 'code'")
|
|
->and($icons)
|
|
->toContain("'cloud' =>")
|
|
->toContain("'code' =>");
|
|
});
|