Build a minimal enabled RestServerConfig for integration tests. */
| 34 | |
| 35 | /** Build a minimal enabled RestServerConfig for integration tests. */ |
| 36 | mitk::RestServerConfig MakeTestConfig() |
| 37 | { |
| 38 | mitk::RestServerConfig cfg; |
| 39 | cfg.enabled = true; |
| 40 | cfg.host = "127.0.0.1"; |
| 41 | cfg.port = kTestPort; |
| 42 | cfg.rateLimitEnabled = false; |
| 43 | cfg.requireAuth = false; |
| 44 | cfg.clientAccessMode = mitk::ClientAccessMode::AllowAll; |
| 45 | return cfg; |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | class mitkSecurityMiddlewareTestSuite : public mitk::TestFixture |
no outgoing calls
no test coverage detected