We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35bac8a commit 3cf3733Copy full SHA for 3cf3733
1 file changed
pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Tests/APICoreEndpointTestCase.inc
@@ -88,19 +88,6 @@ class APICoreEndpointTestCase extends TestCase {
88
$endpoint->check_construct();
89
},
90
);
91
-
92
- # Ensure endpoints cannot be many if th model has a parent model
93
- $this->assert_throws_response(
94
- response_id: 'ENDPOINT_MANY_WHEN_MODEL_HAS_PARENT',
95
- code: 500,
96
- callable: function () {
97
- # Mock a 'many' endpoint with a non many model
98
- $endpoint = new ServicesDNSResolverHostOverrideAliasEndpoint();
99
- $endpoint->many = true;
100
- $endpoint->request_method_options = ['GET'];
101
- $endpoint->check_construct();
102
- },
103
- );
104
}
105
106
public function test_get_pagination_resource_links(): void {
0 commit comments