Пример #1
0
        public async void Images_devuelve_no_devuelve_null()
        {
            var request = TestFactory.CreateHttpRequest("", "");
            var response = await Getsas.Run(request, logger);

            Assert.NotNull(response);

        }
Пример #2
0
        public async void Images_devuelve_no_devuelve_null()
        {
            var request  = TestFactory.CreateHttpRequest("", "");
            var response = await Getsas.Run(request, logger);

            var result = response as OkObjectResult;

            Assert.Contains("?sv=", result.Value.ToString());
            Assert.Contains("&sp=rl", result.Value.ToString());
        }
Пример #3
0
        public async void Getsas_devuelve_una_Sas_con_permisos_de_lectura_y_listados()
        {
            var request = TestFactory.CreateHttpRequest("", "");
            var response = await Getsas.Run(request, logger);

            var result = response as OkObjectResult;

            Assert.Contains("?sv=", result.Value.ToString()); ;
            Assert.Contains("&sp=rl", result.Value.ToString()); ;

        }