public void BeAddedWhenEquiped() { var sunglassesId = "dcl://base-avatars/black_sun_glasses"; var sunglasses = catalog.Get(sunglassesId); controller.WearableClicked(sunglassesId); Assert.IsTrue(controller.myModel.wearables.Contains(sunglasses)); }
public void BeAddedWhenEquiped() { var sunglassesId = "urn:decentraland:off-chain:base-avatars:black_sun_glasses"; var sunglasses = catalog.Get(sunglassesId); controller.WearableClicked(sunglassesId); Assert.IsTrue(controller.myModel.wearables.Contains(sunglasses)); }
public void ReplaceNotSupportedWearablesWhenChangingBodyShape() { userProfile.UpdateData(new UserProfileModel() { name = "name", email = "mail", avatar = new AvatarModel() { bodyShape = WearableLiterals.BodyShapes.FEMALE, wearables = new List <string>() { FEMALE_CATGLASSES_ID }, } }, false); controller.WearableClicked(WearableLiterals.BodyShapes.MALE); Assert.False(controller.myModel.wearables.Any(x => x.id == FEMALE_CATGLASSES_ID)); }