77from plone .app .testing import setRoles
88from plone .app .testing import TEST_USER_ID
99from plone .distribution .testing .layer import PloneDistributionFixture
10- from plone .testing import z2
10+ from plone .testing import zope
1111
1212import plone .app .caching # noQA
1313import plone .app .discussion # noQA
@@ -62,13 +62,17 @@ class PloneVoltoCoreLayer(PloneSandboxLayer):
6262
6363
6464PLONE_VOLTO_CORE_FUNCTIONAL_TESTING = FunctionalTesting (
65- bases = (PLONE_VOLTO_CORE_FIXTURE , z2 . ZSERVER_FIXTURE ),
65+ bases = (PLONE_VOLTO_CORE_FIXTURE , zope . WSGI_SERVER_FIXTURE ),
6666 name = "PloneVoltoCoreLayer:FunctionalTesting" ,
6767)
6868
6969
7070PLONE_VOLTO_CORE_ACCEPTANCE_TESTING = FunctionalTesting (
71- bases = (PLONE_VOLTO_CORE_FIXTURE , REMOTE_LIBRARY_BUNDLE_FIXTURE , z2 .ZSERVER_FIXTURE ),
71+ bases = (
72+ PLONE_VOLTO_CORE_FIXTURE ,
73+ REMOTE_LIBRARY_BUNDLE_FIXTURE ,
74+ zope .WSGI_SERVER_FIXTURE ,
75+ ),
7276 name = "PloneVoltoCoreLayer:AcceptanceTesting" ,
7377)
7478
@@ -108,7 +112,7 @@ def setUpPloneSite(self, portal):
108112
109113
110114PLONE_VOLTO_CORESANDBOX_FUNCTIONAL_TESTING = FunctionalTesting (
111- bases = (PLONE_VOLTO_CORESANDBOX_FIXTURE , z2 . ZSERVER_FIXTURE ),
115+ bases = (PLONE_VOLTO_CORESANDBOX_FIXTURE , zope . WSGI_SERVER_FIXTURE ),
112116 name = "PloneVoltoCoreSandboxLayer:FunctionalTesting" ,
113117)
114118
@@ -117,7 +121,7 @@ def setUpPloneSite(self, portal):
117121 bases = (
118122 PLONE_VOLTO_CORESANDBOX_FIXTURE ,
119123 REMOTE_LIBRARY_BUNDLE_FIXTURE ,
120- z2 . ZSERVER_FIXTURE ,
124+ zope . WSGI_SERVER_FIXTURE ,
121125 ),
122126 name = "PloneVoltoCoreSandboxLayer:AcceptanceTesting" ,
123127)
@@ -144,6 +148,6 @@ def setUpPloneSite(self, portal):
144148
145149
146150PLONE_VOLTO_MIGRATION_FUNCTIONAL_TESTING = FunctionalTesting (
147- bases = (PLONE_VOLTO_MIGRATION_FIXTURE , z2 . ZSERVER_FIXTURE ),
151+ bases = (PLONE_VOLTO_MIGRATION_FIXTURE , zope . WSGI_SERVER_FIXTURE ),
148152 name = "PloneVoltoMigrationLayer:FunctionalTesting" ,
149153)
0 commit comments