diff --git a/.phpstan/constants.php b/.phpstan/constants.php index e90363f..d0d9409 100644 --- a/.phpstan/constants.php +++ b/.phpstan/constants.php @@ -1,3 +1,15 @@ hidden() + ); + } + + public function testReadOnly(): void + { + self::assertSame( + [ + NAILS_DB_PREFIX . 'release_notes.sha', + NAILS_DB_PREFIX . 'release_notes.tag', + ], + (new Package())->readOnly() + ); + } +} diff --git a/tests/bootstrap.php b/tests/bootstrap.php index fd349ea..c93553f 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -1,3 +1,15 @@