stable

Clone or download

Read-only

Expired site banner are not shown to the end users

To test create a banner with a short expiration time via the REST API. Part of story #21342: auto disable site banner after a given time Change-Id: Iedc8568d47c4e1d42cfcae0eab9308af6b254d27

Modified Files

Name
M src/common/Platform/Banner/BannerDao.php +4 −3 Go to diff View file
M src/common/Platform/Banner/BannerRetriever.php +2 −2 Go to diff View file
M src/common/layout/BaseLayout.php +1 −1 Go to diff View file
A tests/integration/tests/Platform/Banner/BannerDaoTest.php +72 −0 Go to diff View file
M tests/unit/common/Platform/Banner/BannerRetrieverTest.php +6 −6 Go to diff View file