diff --git a/Tests/AppKit/CPPopUpButtonTest.j b/Tests/AppKit/CPPopUpButtonTest.j index 1a970ac78..e2c9ebc62 100644 --- a/Tests/AppKit/CPPopUpButtonTest.j +++ b/Tests/AppKit/CPPopUpButtonTest.j @@ -178,7 +178,7 @@ withKeyPath:@"weight" options:nil]; - [self assert:20 equals:[button selectedTag]]; + [self assert:20 equals:[[button selectedItem] tag]]; [button selectItemAtIndex:1]; // simulate selection by the user (this fails because we don't reverse set the value)