Purge and check session message count before and after the unit tests. The unit tests generate
a lot of session messages and we don't want to leave these around after the tests.
This commit is contained in:
@@ -273,6 +273,12 @@ function addmsg($text, $color = "black")
|
||||
}
|
||||
|
||||
|
||||
function purgeSessionMessages()
|
||||
{
|
||||
$sQuery = "truncate sessionMessages";
|
||||
query_parameters($sQuery);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* output msg_buffer and clear it.
|
||||
|
||||
Reference in New Issue
Block a user