Przeglądaj źródła

Show all fields even if test is void

Alan Lam 3 lat temu
rodzic
commit
ad9001e5fb
1 zmienionych plików z 0 dodań i 4 usunięć
  1. 0 4
      engine/test.php

+ 0 - 4
engine/test.php

@@ -831,10 +831,6 @@ class Test extends Model {
 	public function getFieldsForVerifyForm(): array {
 		$json = json_decode($this->getProject()->getTemplate()->getJSON());
 
-		if($this->isVoid()) {
-			return $json->beforeTest;
-		}
-
 		return array_merge($json->beforeTest, [(object) ["type" => "hr"]], $json->duringTest);
 	}