diff --git a/app/src/test/java/com/alphawallet/app/tokenscript/TokenscriptFunctionTest.java b/app/src/test/java/com/alphawallet/app/tokenscript/TokenscriptFunctionTest.java index a252ea5a79..8cae80a3ae 100644 --- a/app/src/test/java/com/alphawallet/app/tokenscript/TokenscriptFunctionTest.java +++ b/app/src/test/java/com/alphawallet/app/tokenscript/TokenscriptFunctionTest.java @@ -14,6 +14,7 @@ import java.util.Locale; import static com.alphawallet.token.tools.TokenDefinition.TOKENSCRIPT_CURRENT_SCHEMA; +import static com.alphawallet.token.tools.TokenDefinition.TOKENSCRIPT_MINIMUM_SCHEMA; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; @@ -550,8 +551,8 @@ public void testHoldingToken() { @Test public void entryTokenNameSpaceShouldBeCorrect() { - String currentNamespace = "http://tokenscript.org/" + TOKENSCRIPT_CURRENT_SCHEMA + "/tokenscript"; - assertTrue("should match the latest namespace", entryToken.nameSpace.equals(currentNamespace)); + String currentNamespace = "http://tokenscript.org/" + TOKENSCRIPT_MINIMUM_SCHEMA + "/tokenscript"; + assertTrue("should match the minimum namespace", entryToken.nameSpace.equals(currentNamespace)); } @Override @@ -575,4 +576,4 @@ public void parseMessage(ParseResultId parseResult) break; } } -} \ No newline at end of file +}