소스 검색

test: fix syntax error

Kirill Vainer 9 년 전
부모
커밋
d0035b0bc6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      jme3-core/src/test/java/com/jme3/material/plugins/J3MLoaderTest.java

+ 1 - 1
jme3-core/src/test/java/com/jme3/material/plugins/J3MLoaderTest.java

@@ -107,7 +107,7 @@ public class J3MLoaderTest {
     }
 
     private TextureKey setupMockForTexture(final String paramName, final String path, final boolean flipY, final Texture texture) {
-        when(materialDef.getMaterialParam(paramName)).thenReturn(new MatParamTexture(VarType.Texture2D, paramName, texture, 0, null));
+        when(materialDef.getMaterialParam(paramName)).thenReturn(new MatParamTexture(VarType.Texture2D, paramName, texture, null));
 
         final TextureKey textureKey = new TextureKey(path, flipY);
         textureKey.setGenerateMips(true);