Skip to content

Commit

Permalink
revert test expectancy for token
Browse files Browse the repository at this point in the history
  • Loading branch information
dkijania committed Sep 16, 2020
1 parent c1b6ffd commit fb078ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vit-servicing-station-tests/src/tests/cli/mod.rs
Expand Up @@ -103,14 +103,14 @@ pub fn add_generated_token_to_db_negative() -> Result<(), Box<dyn Error>> {
.tokens_as_str("some_random_token")
.build()
.assert()
.success();
.failure();

let vit_cli: VitCliCommand = Default::default();
vit_cli
.api_token()
.add()
.db_url(server.settings().db_url.clone())
.tokens_as_str("random_token_1;random_token_2")
.tokens_as_str("randomtoken1;randomtoken2")
.build()
.assert()
.failure();
Expand Down

0 comments on commit fb078ef

Please sign in to comment.