summaryrefslogtreecommitdiffstats
path: root/tests/integration/fixtures/fixture.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-12-03 21:40:46 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2016-01-17 18:18:39 +0100
commit570c75db776a79294d97a05cd8ac63ac4ab39685 (patch)
treedeedd28a10628a06b9d0b53400a2719b7a659562 /tests/integration/fixtures/fixture.php
parente5d606d3ee7dc046e7db9eb1f94b6cc6e542ecbe (diff)
fix several integration test issues
Diffstat (limited to 'tests/integration/fixtures/fixture.php')
-rw-r--r--tests/integration/fixtures/fixture.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/integration/fixtures/fixture.php b/tests/integration/fixtures/fixture.php
index 52015ebc2..a5bceda17 100644
--- a/tests/integration/fixtures/fixture.php
+++ b/tests/integration/fixtures/fixture.php
@@ -15,12 +15,11 @@ namespace OCA\News\Tests\Integration\Fixtures;
trait Fixture {
- public function fillDefaults(array $defaults=[]) {
+ protected function fillDefaults(array $defaults=[]) {
foreach ($defaults as $key => $value) {
$method = 'set' . ucfirst($key);
$this->$method($value);
}
- $this->resetUpdatedFields();
}
} \ No newline at end of file