ADconsole v1.0.0
First public release. - docs: document the audit log, user offboarding, CSV export and the "require a reason for destructive actions" setting across README, docs/ and CLAUDE/AGENTS.md; note retention for panel_audit - docs: fill the publishing placeholders (repo URL, security contact, issue-template links) and add a semantic-versioning policy - move agent/contributor context into CLAUDE/ (AGENTS.md + a README); root CLAUDE.md is now a thin @-import pointer - add a favicon (shield-lock, matching the login screen) to the login page and the app layout - CHANGELOG: promote [Unreleased] to [1.0.0]; keep the earlier internal build as [0.1.0] Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UfuvfwexztdS7LDpGuKsuK
This commit is contained in:
commit
1126d96271
174 files changed
+27113
No files matched your search
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Feature\Pages;
|
||||
|
||||
use Tests\TestCase;
|
||||
|
||||
class AboutPageTest extends TestCase
|
||||
{
|
||||
public function test_about_page_is_available_to_guests_with_all_three_sections(): void
|
||||
{
|
||||
$this->get('/about')
|
||||
->assertOk()
|
||||
->assertSee('id="o-projekcie"', escape: false)
|
||||
->assertSee('id="autor"', escape: false)
|
||||
->assertSee('id="kwestie-prawne"', escape: false);
|
||||
}
|
||||
|
||||
public function test_about_page_shows_author_and_mit_licence(): void
|
||||
{
|
||||
$this->get('/about')
|
||||
->assertOk()
|
||||
->assertSee('Kacper')
|
||||
->assertSee('MIT License')
|
||||
->assertSee('Copyright (c) '.now()->year.' Kacper')
|
||||
->assertSee('Active Directory'); // trademark notice
|
||||
}
|
||||
|
||||
public function test_about_page_follows_the_selected_language(): void
|
||||
{
|
||||
$this->get('/about')->assertSee('Kwestie prawne');
|
||||
|
||||
$this->get('/language/en')->assertRedirect();
|
||||
|
||||
$this->get('/about')
|
||||
->assertOk()
|
||||
->assertSee('Legal')
|
||||
->assertSee('Trademarks')
|
||||
->assertDontSee('Kwestie prawne');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user