Skip to content

Commit bb53f96

Browse files
test: ensure core model tests include new Test model fields
1 parent 4c146c2 commit bb53f96

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Tests/APICoreModelTestCase.inc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,9 @@ class APICoreModelTestCase extends RESTAPI\Core\TestCase {
194194
$test_model->test_string_namespace->internal_namespace => [
195195
$test_model->test_string_namespace->internal_name => $test_model->test_string_namespace->value,
196196
],
197+
$test_model->test_string_choices->internal_name => $test_model->test_string_choices->value,
198+
$test_model->test_string_choices_callable->internal_name =>
199+
$test_model->test_string_choices_callable->value,
197200
]);
198201
}
199202

@@ -209,6 +212,8 @@ class APICoreModelTestCase extends RESTAPI\Core\TestCase {
209212
'test_string_unique',
210213
'test_string_many',
211214
'test_string_namespace',
215+
'test_string_choices',
216+
'test_string_choices_callable',
212217
]);
213218
}
214219

0 commit comments

Comments
 (0)