[ARVADOS] created: 1.3.0-1547-g7410ffda2
Git user
git at public.curoverse.com
Thu Aug 22 18:48:10 UTC 2019
at 7410ffda247fc84a9e650dc441dd415f483cfa5e (commit)
commit 7410ffda247fc84a9e650dc441dd415f483cfa5e
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date: Thu Aug 22 14:47:44 2019 -0400
15583: Set with_count('none') on wb page notification tests
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>
diff --git a/apps/workbench/app/controllers/application_controller.rb b/apps/workbench/app/controllers/application_controller.rb
index ccd0abdc3..bca8a8fbc 100644
--- a/apps/workbench/app/controllers/application_controller.rb
+++ b/apps/workbench/app/controllers/application_controller.rb
@@ -782,7 +782,7 @@ class ApplicationController < ActionController::Base
@@notification_tests.push lambda { |controller, current_user|
return nil if Rails.configuration.Services.WebShell.ExternalURL != URI("")
- AuthorizedKey.limit(1).where(authorized_user_uuid: current_user.uuid).each do
+ AuthorizedKey.limit(1).with_count('none').where(authorized_user_uuid: current_user.uuid).each do
return nil
end
return lambda { |view|
@@ -791,7 +791,7 @@ class ApplicationController < ActionController::Base
}
@@notification_tests.push lambda { |controller, current_user|
- Collection.limit(1).where(created_by: current_user.uuid).each do
+ Collection.limit(1).with_count('none').where(created_by: current_user.uuid).each do
return nil
end
return lambda { |view|
@@ -801,7 +801,7 @@ class ApplicationController < ActionController::Base
@@notification_tests.push lambda { |controller, current_user|
if PipelineInstance.api_exists?(:index)
- PipelineInstance.limit(1).where(created_by: current_user.uuid).each do
+ PipelineInstance.limit(1).with_count('none').where(created_by: current_user.uuid).each do
return nil
end
else
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list