Exemple #1
0
        public async Task DeleteTest()
        {
            await(await ConfigStore.DeleteAsync()).WaitForCompletionResponseAsync();
            ConfigurationStore configurationStore = await ResGroup.GetConfigurationStores().GetIfExistsAsync(ConfigurationStoreName);

            Assert.IsNull(configurationStore);
        }
Exemple #2
0
        public async Task DeleteTest()
        {
            await ConfigStore.DeleteAsync(true);

            ConfigurationStore configurationStore = await ResGroup.GetConfigurationStores().GetIfExistsAsync(ConfigurationStoreName);

            Assert.IsNull(configurationStore);
        }
Exemple #3
0
        public async Task DeleteTest()
        {
            await ConfigStore.DeleteAsync(WaitUntil.Completed);

            var exception = Assert.ThrowsAsync <RequestFailedException>(async() => { ConfigurationStoreResource configurationStore = await ResGroup.GetConfigurationStores().GetAsync(ConfigurationStoreName); });

            Assert.AreEqual(404, exception.Status);
        }