Skip to content

Commit

Permalink
match sample.json model
Browse files Browse the repository at this point in the history
  • Loading branch information
KannarFr committed Apr 8, 2024
1 parent 53be7b9 commit 45a163c
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions src/test/java/org/biscuitsec/biscuit/token/SamplesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -165,18 +165,6 @@ public void setSymbols(List<String> symbols) {
}
}

class Token {
List<Block> blocks;

public List<Block> getBlocks() {
return blocks;
}

public void setBlocks(List<Block> blocks) {
this.blocks = blocks;
}
}

class TestCase {
String title;

Expand All @@ -189,7 +177,7 @@ public void setTitle(String title) {
}

String filename;
List<Token> tokens;
List<Block> token;
JsonElement validations;

public String getFilename() {
Expand All @@ -200,12 +188,12 @@ public void setFilename(String filename) {
this.filename = filename;
}

public List<Token> getTokens() {
return tokens;
public List<Block> getToken() {
return token;
}

public void setTokens(List<Token> tokens) {
this.tokens = tokens;
public void setTokens(List<Block> token) {
this.token = token;
}

public JsonElement getValidations() {
Expand Down

0 comments on commit 45a163c

Please sign in to comment.