7 class LicensesTest extends TestCase
9 public function test_licenses_endpoint()
11 $resp = $this->get('/licenses');
13 $resp->assertSee('Licenses');
14 $resp->assertSee('PHP Library Licenses');
15 $resp->assertSee('Dan Brown and the BookStack project contributors');
16 $resp->assertSee('league/commonmark');
17 $resp->assertSee('@codemirror/lang-html');
20 public function test_licenses_linked_to_from_settings()
22 $resp = $this->asAdmin()->get('/settings/features');
23 $html = $this->withHtml($resp);
24 $html->assertLinkExists(url('/licenses'), 'License Details');