stable
Clone or download
Read-only
To test, you can set a banner message with the PUT route and then delete it and check in the DB that the content is gone. Part of story #12264: display a custom banner inside project pages Change-Id: Iedd4832eec3e4a5eee21995b73af2cd1128adba3
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/Project/Banner/BannerCreator.php | +1 | −1 | Go to diff View file |
M | src/common/Project/Banner/BannerDao.php | +7 | −0 | Go to diff View file |
M | src/common/Project/Banner/BannerPermissionsChecker.php | +2 | −2 | Go to diff View file |
A | src/common/Project/Banner/BannerRemover.php | +41 | −0 | Go to diff View file |
R | src/common/Project/Banner/UserCanUpdateBannerPermission.php | Go to diff View file | ||
M | src/common/Project/REST/v1/ProjectResource.class.php | +28 | −3 | Go to diff View file |
M | tests/phpunit/common/Project/Banner/BannerPermissionsCheckerTest.php | +3 | −3 | Go to diff View file |
A | tests/phpunit/common/Project/Banner/BannerRemoverTest.php | +44 | −0 | Go to diff View file |
M | tests/rest/tests/ProjectTest.php | +12 | −0 | Go to diff View file |