Skip to content

Commit edf8a3f

Browse files
committed
Ruby: update test output
1 parent ace60df commit edf8a3f

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

ruby/ql/test/library-tests/frameworks/ActionController.expected

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ actionControllerControllerClasses
77
| app/controllers/photos_controller.rb:1:1:4:3 | PhotosController |
88
| app/controllers/posts_controller.rb:1:1:10:3 | PostsController |
99
| app/controllers/users/notifications_controller.rb:2:3:5:5 | NotificationsController |
10-
| app/controllers/users/users_controller.rb:2:3:33:5 | UsersController |
1110
actionControllerActionMethods
1211
| ActiveRecordInjection.rb:32:3:57:5 | some_request_handler |
1312
| ActiveRecordInjection.rb:61:3:69:5 | some_other_request_handler |
@@ -23,8 +22,6 @@ actionControllerActionMethods
2322
| app/controllers/posts_controller.rb:5:3:6:5 | show |
2423
| app/controllers/posts_controller.rb:8:3:9:5 | upvote |
2524
| app/controllers/users/notifications_controller.rb:3:5:4:7 | mark_as_read |
26-
| app/controllers/users/users_controller.rb:3:5:28:7 | create_or_modify |
27-
| app/controllers/users/users_controller.rb:30:5:32:7 | get_uid |
2825
paramsCalls
2926
| ActiveRecordInjection.rb:35:30:35:35 | call to params |
3027
| ActiveRecordInjection.rb:39:29:39:34 | call to params |

ruby/ql/test/library-tests/frameworks/ActiveRecord.expected

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ activeRecordModelClasses
22
| ActiveRecordInjection.rb:1:1:3:3 | UserGroup |
33
| ActiveRecordInjection.rb:5:1:17:3 | User |
44
| ActiveRecordInjection.rb:19:1:25:3 | Admin |
5-
| app/models/application_record.rb:1:1:3:3 | ApplicationRecord |
6-
| app/models/user.rb:1:1:2:3 | User |
75
activeRecordSqlExecutionRanges
86
| ActiveRecordInjection.rb:10:33:10:67 | "name='#{...}' and pass='#{...}'" |
97
| ActiveRecordInjection.rb:23:16:23:24 | condition |
@@ -35,18 +33,6 @@ activeRecordModelClassMethodCalls
3533
| ActiveRecordInjection.rb:85:5:85:33 | call to find_by |
3634
| ActiveRecordInjection.rb:88:5:88:34 | call to find |
3735
| ActiveRecordInjection.rb:94:5:94:45 | call to delete_by |
38-
| app/controllers/users/users_controller.rb:5:7:5:44 | call to create! |
39-
| app/controllers/users/users_controller.rb:6:7:6:29 | call to create |
40-
| app/controllers/users/users_controller.rb:7:7:7:31 | call to insert |
41-
| app/controllers/users/users_controller.rb:10:7:10:32 | call to update |
42-
| app/controllers/users/users_controller.rb:11:7:11:73 | call to update! |
43-
| app/controllers/users/users_controller.rb:14:7:14:66 | call to insert_all |
44-
| app/controllers/users/users_controller.rb:16:14:16:25 | call to find |
45-
| app/controllers/users/users_controller.rb:31:7:31:15 | call to last |
46-
| app/controllers/users/users_controller.rb:31:7:31:18 | call to id |
47-
| app/controllers/users/users_controller.rb:31:7:31:22 | ... + ... |
48-
| app/models/application_record.rb:2:3:2:21 | call to abstract_class |
49-
| app/models/application_record.rb:2:3:2:21 | call to abstract_class= |
5036
potentiallyUnsafeSqlExecutingMethodCall
5137
| ActiveRecordInjection.rb:10:5:10:68 | call to find |
5238
| ActiveRecordInjection.rb:23:5:23:25 | call to destroy_by |
@@ -63,12 +49,5 @@ activeRecordModelInstantiations
6349
| ActiveRecordInjection.rb:15:5:15:40 | call to find_by | ActiveRecordInjection.rb:1:1:3:3 | UserGroup |
6450
| ActiveRecordInjection.rb:23:5:23:25 | self | ActiveRecordInjection.rb:19:1:25:3 | Admin |
6551
| ActiveRecordInjection.rb:80:7:80:40 | call to find_by | ActiveRecordInjection.rb:5:1:17:3 | User |
66-
| ActiveRecordInjection.rb:80:7:80:40 | call to find_by | app/models/user.rb:1:1:2:3 | User |
6752
| ActiveRecordInjection.rb:85:5:85:33 | call to find_by | ActiveRecordInjection.rb:5:1:17:3 | User |
68-
| ActiveRecordInjection.rb:85:5:85:33 | call to find_by | app/models/user.rb:1:1:2:3 | User |
6953
| ActiveRecordInjection.rb:88:5:88:34 | call to find | ActiveRecordInjection.rb:5:1:17:3 | User |
70-
| ActiveRecordInjection.rb:88:5:88:34 | call to find | app/models/user.rb:1:1:2:3 | User |
71-
| app/controllers/users/users_controller.rb:16:14:16:25 | call to find | ActiveRecordInjection.rb:5:1:17:3 | User |
72-
| app/controllers/users/users_controller.rb:16:14:16:25 | call to find | app/models/user.rb:1:1:2:3 | User |
73-
| app/controllers/users/users_controller.rb:31:7:31:15 | call to last | ActiveRecordInjection.rb:5:1:17:3 | User |
74-
| app/controllers/users/users_controller.rb:31:7:31:15 | call to last | app/models/user.rb:1:1:2:3 | User |

0 commit comments

Comments
 (0)