Exemplo n.º 1
0
        public void Test_CheckUpdateVenueInfo_True()
        {
            Venue testVenue = new Venue("Venue", "Portland");

            testVenue.Save();
            int id = testVenue.GetId();

            Venue.Update("Venue", "Seattle", id);
            Venue updated = Venue.Find(id);

            Assert.Equal(updated.GetCity(), "Seattle");
        }