summaryrefslogtreecommitdiff
path: root/modules/simpletest/simpletest.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-08-13 06:42:04 +0000
committerDries Buytaert <dries@buytaert.net>2008-08-13 06:42:04 +0000
commit5de34fb21cb8614d69b0cc023f07baca20abbd39 (patch)
tree5f7037c8f3dd121b6e0672ffbae1f8328c072617 /modules/simpletest/simpletest.module
parent28d2ee1a0026ddcbc26f4adad8f241b0fbce4abd (diff)
downloadbrdo-5de34fb21cb8614d69b0cc023f07baca20abbd39.tar.gz
brdo-5de34fb21cb8614d69b0cc023f07baca20abbd39.tar.bz2
- Patch #290316 by boombatower, Damien Tournoud et al: made simpletests work on PostgreSQL.
Diffstat (limited to 'modules/simpletest/simpletest.module')
-rw-r--r--modules/simpletest/simpletest.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/simpletest/simpletest.module b/modules/simpletest/simpletest.module
index 9c36d15d4..05907d454 100644
--- a/modules/simpletest/simpletest.module
+++ b/modules/simpletest/simpletest.module
@@ -62,6 +62,7 @@ function simpletest_test_form() {
$uncategorized_tests = simpletest_get_all_tests();
$tests = simpletest_categorize_tests($uncategorized_tests);
if (isset($_SESSION['test_id'])) {
+ // Select all results using the active test ID used to group them.
$results = db_query("SELECT * FROM {simpletest} WHERE test_id = %d ORDER BY test_class, message_id", $_SESSION['test_id']);
$summary = array(