From 876bd475394d21b92303c46215be23ae2d395d5f Mon Sep 17 00:00:00 2001 From: weryques Date: Tue, 12 Dec 2017 12:11:50 -0200 Subject: [PATCH] Removing duplicated validation --- tests/factories/class-tainacan-entity-factory.php | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/factories/class-tainacan-entity-factory.php b/tests/factories/class-tainacan-entity-factory.php index fec0a3caa..af83ec922 100644 --- a/tests/factories/class-tainacan-entity-factory.php +++ b/tests/factories/class-tainacan-entity-factory.php @@ -108,7 +108,6 @@ class Entity_Factory { $this->entity->set_description( 'It is only for test' ); } - $this->entity->validate(); if ($this->entity->validate()) { $this->entity = $this->repository->insert( $this->entity ); } else {