5 class LicensesTest extends TestCase
7 public function test_licenses_endpoint()
9 $resp = $this->get('/licenses');
11 $resp->assertSee('Licenses');
12 $resp->assertSee('PHP Library Licenses');
13 $resp->assertSee('Dan Brown and the BookStack Project contributors');
14 $resp->assertSee('doctrine/dbal');
15 $resp->assertSee('@codemirror/lang-html');
18 public function test_licenses_linked_to_from_settings()
20 $resp = $this->asAdmin()->get('/settings/features');
21 $html = $this->withHtml($resp);
22 $html->assertLinkExists(url('/licenses'), 'License Details');