Exemplo n.º 1
0
    public async Task ShouldCreateProperly()
    {
        var list = await _tagAdminAppService.CreateAsync(new TagCreateDto
        {
            EntityType = _cmsKitTestData.EntityType1,
            Name       = "My First Tag",
        });

        list.Id.ShouldNotBe(Guid.Empty);
    }
Exemplo n.º 2
0
        public async Task ShouldCreateProperly()
        {
            var list = await _tagAdminAppService.CreateAsync(new TagCreateDto
            {
                EntityType = "any_new_type",
                Name       = "1",
            });

            list.Id.ShouldNotBe(Guid.Empty);
        }