فهرست منبع

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);