diff --git a/Tests/AppKit/CPTextViewTest.j b/Tests/AppKit/CPTextViewTest.j index a791965df..620d3ab9a 100644 --- a/Tests/AppKit/CPTextViewTest.j +++ b/Tests/AppKit/CPTextViewTest.j @@ -1,8 +1,6 @@ @import @import -[CPApplication sharedApplication] - @implementation CPTextViewTest : OJTestCase { CPWindow theWindow; @@ -13,6 +11,12 @@ OJMoqSpy delegateSpy } ++ (void)setUp +{ + // This will init the global var CPApp which are used internally in the AppKit + [[CPApplication alloc] init]; +} + - (void)setUp { // setup a reasonable table