Skip to content

Commit 3e29ef4

Browse files
committed
disable opcache
1 parent 0e49bd0 commit 3e29ef4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/System/entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ chown -R www-data /tests/www/$TEST_GROUP/
2222
# Required for media manager tests
2323
chmod -R 777 /tests/www/$TEST_GROUP/images
2424

25+
# Disable opcache, otherwise there are issues when the config is changed in a test like the SefPlugin.cy.js
26+
rm /etc/php/*/apache2/conf.d/10-opcache.ini
27+
2528
echo "[RUNNER] Start Apache"
2629
a2enmod rewrite
2730
apache2ctl -D FOREGROUND &

tests/System/integration/plugins/system/sef/SefPlugin.cy.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ describe('Test that the sef system plugin', () => {
1616

1717
it('can process if option \'sef\' disabled', () => {
1818
cy.config_setParameter('sef', false)
19-
.then(() => cy.wait(2000))
2019
.then(() => {
2120
cy.request({ url: '/index.php?option=com_users&view=login', followRedirect: false })
2221
.then((response) => {
@@ -31,7 +30,6 @@ describe('Test that the sef system plugin', () => {
3130

3231
it('can process if option \'enforcesuffix\' enabled', () => {
3332
cy.config_setParameter('sef_suffix', true)
34-
.then(() => cy.wait(2000))
3533
.then(() => {
3634
cy.request({ url: '/index.php/component/users/login', followRedirect: false })
3735
.then((response) => {

0 commit comments

Comments
 (0)