added glass scale symptoms to translations
Some checks failed
PHPUnit / test (push) Has been cancelled
Some checks failed
PHPUnit / test (push) Has been cancelled
This commit is contained in:
@ -27,6 +27,18 @@ final class AppQuestionnairesTest extends QdbTestCase
|
||||
]);
|
||||
$this->assertApiOk($res);
|
||||
$this->assertNotEmpty($res['data']['questions']);
|
||||
|
||||
$glass = null;
|
||||
foreach ($res['data']['questions'] as $q) {
|
||||
if (($q['layout'] ?? '') === 'glass_scale_question') {
|
||||
$glass = $q;
|
||||
break;
|
||||
}
|
||||
}
|
||||
$this->assertNotNull($glass);
|
||||
$this->assertIsArray($glass['glassSymptoms'] ?? null);
|
||||
$symptomKeys = array_column($glass['glassSymptoms'], 'key');
|
||||
$this->assertContains($this->fixture()->glassSymptomKey, $symptomKeys);
|
||||
}
|
||||
|
||||
public function testCoachListsAssignedClients(): void
|
||||
|
||||
Reference in New Issue
Block a user