static function setUpBeforeClass() { Itwapp::setApiKey(getenv("itwappApiKey")); Itwapp::setApiSecretKey(getenv("itwappApiSecret")); //Create an interview $array = ["name" => "interview 1", "questions" => [["content" => "question 1", "readingTime" => 60, "answerTime" => 60, "number" => 1]], "video" => "", "text" => ""]; $res = Interview::create($array); ApplicantTest::$interviewId = $res->id; }
static function setUpBeforeClass() { Itwapp::setApiKey(getenv("itwappApiKey")); Itwapp::setApiSecretKey(getenv("itwappApiSecret")); }