From dad3192ebeb1dda4dc9b8e689a1bed578ed6505f Mon Sep 17 00:00:00 2001 From: Jan Romann Date: Fri, 14 Jun 2024 19:43:06 +0200 Subject: [PATCH] fixup! Implement ExposedThing functionality --- test/binding_http/http_test.dart | 18 ------------------ 1 file changed, 18 deletions(-) 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);