Explorar o código

Added tests for CmdSetValue for 'visible' and 'userData'

Daniel %!s(int64=10) %!d(string=hai) anos
pai
achega
92ee2e19de
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test/unit/editor/TestCmdSetValue.js

+ 1 - 1
test/unit/editor/TestCmdSetValue.js

@@ -17,7 +17,7 @@ test( "Test CmdSetValue (Undo and Redo)", function(){
 
 		ok( 0 == 0, "Testing object of type '" + object.type + "'");
 
-		[ 'name', 'fov', 'near', 'far', 'intensity', 'distance', 'angle', 'exponent', 'decay' ].map( function( item ) {
+		[ 'name', 'fov', 'near', 'far', 'intensity', 'distance', 'angle', 'exponent', 'decay', 'visible', 'userData' ].map( function( item ) {
 
 			if( object[ item ] !== undefined ) {