Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
micwallace committed Sep 25, 2023
1 parent 612c76e commit eb64708
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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
Expand All @@ -575,4 +576,4 @@ public void parseMessage(ParseResultId parseResult)
break;
}
}
}
}

0 comments on commit eb64708

Please sign in to comment.