예제 #1
0
        public void ServerWithHostPathDash_AccessHostRootDash_NoError()
        {
            var host = $"http://localhost:{NextFreeTcpPort()}";

            this.GivenRunningServerWithWebApi(host + "/path/");
            var client = new JobbrClient(host + "/path");

            Assert.IsTrue(client.IsAvailable());
        }
예제 #2
0
        public void ServerWithRootedHostPlain_AccessHostRootPlain_NoError()
        {
            var host = $"http://localhost:{NextFreeTcpPort()}";

            this.GivenRunningServerWithWebApi(host);
            var client = new JobbrClient(host);

            Assert.IsTrue(client.IsAvailable());
        }