diff --git a/test/binding_http/http_test.dart b/test/binding_http/http_test.dart index a4e473ca..9e509429 100644 --- a/test/binding_http/http_test.dart +++ b/test/binding_http/http_test.dart @@ -17,28 +17,10 @@ void main() { test("Server tests", () { final defaultServer = HttpServer(null); - final servient = Servient.create( - servers: [ - defaultServer, - ], - ); expect(defaultServer.port, 80); expect(defaultServer.scheme, "http"); - expect( - () async => defaultServer.start(servient), - throwsA(const TypeMatcher()), - ); - expect( - () async => defaultServer.stop(), - throwsA(const TypeMatcher()), - ); - // expect( - // () async => defaultServer.expose(MockExposedThing()), - // throwsA(const TypeMatcher()), - // ); - final customServer1 = HttpServer(HttpConfig(secure: true)); expect(customServer1.port, 443);