Skip to content

Commit

Permalink
Final changes
Browse files Browse the repository at this point in the history
  • Loading branch information
folix-01 committed Jul 26, 2023
1 parent d5a5a43 commit 45bbc16
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Changelog
5.0.5 (unreleased)
------------------

- Nothing changed yet.
- Set plone.base.interfaces.syndication.ISiteSyndicationSettings.show_author_info to False by default.
[folix-01]


5.0.4 (2023-07-04)
Expand Down
27 changes: 27 additions & 0 deletions src/design/plone/policy/tests/test_registry_entries.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# -*- coding: utf-8 -*-
from plone.app.testing import setRoles
from plone.app.testing import TEST_USER_ID
from plone import api

from design.plone.policy.testing import DESIGN_PLONE_POLICY_INTEGRATION_TESTING

import unittest


class TestInitialStructureCreation(unittest.TestCase):
layer = DESIGN_PLONE_POLICY_INTEGRATION_TESTING

def setUp(self):
self.app = self.layer["app"]
self.portal = self.layer["portal"]

setRoles(self.portal, TEST_USER_ID, ["Manager"])

def test_plone_base_interfaces_syndication_ISiteSyndicationSettings_show_author_info(
self,
):
self.assertFalse(
api.portal.get_registry_record(
"plone.base.interfaces.syndication.ISiteSyndicationSettings.show_author_info"
)
)

0 comments on commit 45bbc16

Please sign in to comment.