소스 검색

Show all fields even if test is void

Alan Lam 3 년 전
부모
커밋
ad9001e5fb
1개의 변경된 파일과 0개의 추가작업 그리고 4개의 파일을 삭제
  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);
 	}