Permalink
Browse files

Better isolating integration test.

Prevent leaking of modifications to transliteration rules.
  • Loading branch information...
davidpersson committed May 21, 2012
1 parent 9940ecb commit 16e010e0058222612a6773afdab8a5f6decff254
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/integration/g11n/CatalogInflectorTest.php
@@ -22,10 +22,10 @@ public function setUp() {
Catalog::config(array(
'runtime' => array('adapter' => new Memory())
));
- Inflector::reset();
}
public function tearDown() {
+ Inflector::reset();
Catalog::reset();
Catalog::config($this->_backup['catalogConfig']);
}

0 comments on commit 16e010e

Please sign in to comment.