We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In Pressflow 6.25 if $db_url is an array, simpletest fails in at least a couple ways.
It produces temp tables of the form and then can't drop them later: Arraysimpletest12345access Arraysimpletest12345actions ...
Calls to variable_get(), variable_set() fail.
The following code in my test set-up works around the problem:
public function setUp() { // simpletest doesn't like array-valued $db_url. global $db_url; $default = $db_url['default']; $db_url = $default; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In Pressflow 6.25 if $db_url is an array, simpletest fails in at least a couple ways.
It produces temp tables of the form and then can't drop them later:
Arraysimpletest12345access
Arraysimpletest12345actions
...
Calls to variable_get(), variable_set() fail.
The following code in my test set-up works around the problem:
public function setUp() {
// simpletest doesn't like array-valued $db_url.
global $db_url;
$default = $db_url['default'];
$db_url = $default;
}
The text was updated successfully, but these errors were encountered: