Skip to content

Commit

Permalink
try testing operations
Browse files Browse the repository at this point in the history
Signed-off-by: Samsondeen Dare <[email protected]>
  • Loading branch information
dsa0x committed Aug 12, 2022
1 parent 42a9209 commit befb72d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,13 @@ func TestX509(t *testing.T) {
out = runCli(t, "search", "--email", "[email protected]")
outputContains(t, out, uuid)

doubleUUID := fmt.Sprintf("%s\n%s", uuid, uuid)
out = runCli(t, "search", "--email", "[email protected]", "--operator", "or","--public-key", pubKeyPath)
outputContains(t, out, doubleUUID)

out = runCli(t, "search", "--email", "[email protected]", "--operator", "and","--public-key", pubKeyPath)
outputContains(t, out, uuid)

}

func TestUploadNoAPIKeyInOutput(t *testing.T) {
Expand Down

0 comments on commit befb72d

Please sign in to comment.