perms: update test to cover no-update case
Created by: unknwon
Alter our test to cover the case of the following "if" (i.e. skip when no rows need to be updated):
The test still does what it was intended to do, and now covers one more case.
Fixes #14761 (closed)