projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9c59dc
)
api_v3_OptionValueTest - useTransaction()
author
Tim Otten
<totten@civicrm.org>
Mon, 22 Dec 2014 23:05:38 +0000
(15:05 -0800)
committer
Tim Otten
<totten@civicrm.org>
Mon, 22 Dec 2014 23:09:14 +0000
(15:09 -0800)
tests/phpunit/api/v3/OptionValueTest.php
patch
|
blob
|
blame
|
history
diff --git
a/tests/phpunit/api/v3/OptionValueTest.php
b/tests/phpunit/api/v3/OptionValueTest.php
index 02fe242c1733e88a2be84bdb7dc88a7277be8e18..f93b32c0bba42be38190bd68ef5f098c36505137 100644
(file)
--- a/
tests/phpunit/api/v3/OptionValueTest.php
+++ b/
tests/phpunit/api/v3/OptionValueTest.php
@@
-35,11
+35,9
@@
class api_v3_OptionValueTest extends CiviUnitTestCase {
function setUp() {
parent::setUp();
+ $this->useTransaction(TRUE);
}
- function tearDown() {}
-
-
public function testGetCount() {
$result = $this->callAPISuccess('option_value', 'getcount', array());
$this->assertGreaterThan(100, $result);