Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ticket/10706] Add $phpbb_functional_path to the config of functional tests #629

Closed
wants to merge 2 commits into from

Conversation

imkingdavid
Copy link
Contributor

if (isset($_SERVER['PHPBB_FUNCTIONAL_PATH']))
{
$config = array_merge($config, array(
'phpbb_functional_path' => isset($_SERVER['PHPBB_FUNCTIONAL_PATH']) ? $_SERVER['PHPBB_FUNCTIONAL_PATH'] : '',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The isset($_SERVER['PHPBB_FUNCTIONAL_PATH']) is redundant.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that but it is how it is done for phpbb_functional_url so I just kept it.

@imkingdavid
Copy link
Contributor Author

@bantu I made some changes, can you review it? EDIT: Nevermind, it's your birthday. Go have a beer instead.

@imkingdavid
Copy link
Contributor Author

Well I think that since I've made other changes to the test framework in #561 including this change, I'll close this and just do the change in that file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants