Exemple #1
0
        public void AddEventType_Valid()
        {
            setup();

            Assert.AreEqual(1, EventTypeAccessor.AddEventType("Test"));

            TestCleanupAccessor.DeleteEventTypeTest(eventTypeToTest);
        }
Exemple #2
0
        public void UpdateEventType_Valid()
        {
            setup();

            EventTypeAccessor.AddEventType("Test");
            eventTypeToTest = getEventTypeID(list);

            Assert.AreEqual(1, EventTypeAccessor.UpdateEventType(eventTypeToTest, eventTypeToEdit));

            TestCleanupAccessor.DeleteEventTypeTest(eventTypeToEdit);
        }