Fix test failure on my machine where user was not set
Fix test failure on my machine where user was not set

For some reason, the test always passes on CI.

We should probably remove the uses of Thread.current[:current_user], 
it's basically a global variable.
gds-attic/need-o-tron,gds-attic/need-o-tron,gds-attic/need-o-tron