test: fix syntax error

This commit is contained in:
Kirill Vainer 2016-04-08 23:15:49 -04:00
parent fc488be37b
commit d0035b0bc6

View File

@ -107,7 +107,7 @@ public class J3MLoaderTest {
} }
private TextureKey setupMockForTexture(final String paramName, final String path, final boolean flipY, final Texture texture) { 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); final TextureKey textureKey = new TextureKey(path, flipY);
textureKey.setGenerateMips(true); textureKey.setGenerateMips(true);