diff --git a/tests/JSTests/AppController.mm b/tests/JSTests/AppController.mm index b697fed3022..069dc721445 100644 --- a/tests/JSTests/AppController.mm +++ b/tests/JSTests/AppController.mm @@ -192,7 +192,7 @@ -(void) run // else if( [name isEqual:@"JS CocosDragon"] ) { [fileutils setSearchMode:kCCFileUtilsSearchDirectoryMode]; - [fileutils setSearchPath:@[@"Published files iOS",@""]]; + [fileutils setSearchPath:@[@"Published files iOS", @"js", @""]]; #if defined(__CC_PLATFORM_MAC) // Use the iPad folder for Mac resources @@ -217,7 +217,7 @@ -(void) run // else if( [name isEqual:@"JS Crystal Craze"] ) { [fileutils setSearchMode:kCCFileUtilsSearchDirectoryMode]; - [fileutils setSearchPath:@[@"Published-iOS",@"js", @""]]; + [fileutils setSearchPath:@[@"Published-iOS", @"js", @""]]; #if defined(__CC_PLATFORM_MAC) // Use the iPhone folder for Mac resources diff --git a/tests/cocos2d-js-tests b/tests/cocos2d-js-tests index 295ae50f2c6..d092f690db1 160000 --- a/tests/cocos2d-js-tests +++ b/tests/cocos2d-js-tests @@ -1 +1 @@ -Subproject commit 295ae50f2c6f17db0d0f8bd59493cc62a23afdcd +Subproject commit d092f690db135e8892b62a28955eb13f59eb1b59