Skip to content

Commit 6152261

Browse files
committed
Add both user ids
1 parent bd5b831 commit 6152261

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

end2end/spring_boot_mysql/test_two_sql_attacks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ def test_two_sql_attacks(event_handler):
2020
# Different :
2121
assert_eq(attack1["operation"], equals="(MySQL Connector/J) java.sql.Connection.prepareStatement")
2222
assert_eq(attack2["operation"], equals="(MariaDB Connector/J) java.sql.Connection.prepareStatement")
23-
assert_eq(attack1["user"]["id"], attack2["user"]["id"], "123")
23+
assert_eq(attack1["user"]["id"], equals="123")
24+
assert_eq(attack2["user"]["id"], equals="456")

0 commit comments

Comments
 (0)