mirror of
https://github.com/bitechdev/ResolveSpec.git
synced 2026-05-21 11:35:26 +00:00
fix(funcspec): update meta variable replacement in SQL query
This commit is contained in:
@@ -821,7 +821,7 @@ func TestReplaceMetaVariables(t *testing.T) {
|
||||
name: "Replace [user]",
|
||||
sqlQuery: "SELECT * FROM audit WHERE username = [user]",
|
||||
expectedCheck: func(result string) bool {
|
||||
return strings.Contains(result, "'testuser'")
|
||||
return strings.Contains(result, "$USR$testuser$USR$")
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user