diff --git a/platform/platform-tests/testSrc/com/intellij/application/TransactionTest.groovy b/platform/platform-tests/testSrc/com/intellij/application/TransactionTest.groovy index 128abf2aea82..fdac1d2044f8 100644 --- a/platform/platform-tests/testSrc/com/intellij/application/TransactionTest.groovy +++ b/platform/platform-tests/testSrc/com/intellij/application/TransactionTest.groovy @@ -26,6 +26,7 @@ class TransactionTest extends LightPlatformTestCase { @Override protected void setUp() throws Exception { + assert LaterInvocator.currentModalityState == ModalityState.NON_MODAL super.setUp() Registry.get("ide.require.transaction.for.model.changes").setValue(true) LoggedErrorProcessor.instance.disableStderrDumping(testRootDisposable)