Changeset 965 for trunk/test


Ignore:
Timestamp:
Oct 21, 2010, 3:38:30 PM (10 years ago)
Author:
business@…
Message:

fix Study.deleteEventGroup to correctly delete samples (still TODO: assays), added 'published' property to Study for data quality verification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/integration/gscf/SampleTests.groovy

    r964 r965  
    274274                def msg = study.deleteEventGroup(group)
    275275                println msg
     276                assert Sample.count() == 0 // trigger (if any) e.ObjectDeletedException: deleted object would be re-saved by cascade (remove deleted object from associations)
    276277                if (!study.validate()) {
    277278                        study.errors.each { println it}
Note: See TracChangeset for help on using the changeset viewer.