Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/resources/version.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
#


version=v1.1.0+959
versionInfo=https://github.com/Breeding-Insight/bi-api/commit/738dee1bea47d07b5e24a37304dd83e6d3f29b65
version=v1.1.1+969
versionInfo=https://github.com/Breeding-Insight/bi-api/commit/bcd7f16800bb6fcdf51a893f41222313478a3c7c
8 changes: 4 additions & 4 deletions src/test/resources/sql/UserControllerIntegrationTest.sql
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@ join bi_user on bi_user.name = 'system' limit 1;

-- name: InsertUserProgramAssociations
insert into program_user_role (program_id, user_id, role_id, created_by, updated_by)
select program.id, bi_user.id, role.id, system_user.id, system_user.id
select program.id, bi_user.id, role.id, bi_system_user.id, bi_system_user.id
from program
join bi_user on bi_user.name = 'Test User' or bi_user.name = 'Other Test User'
join role on role.domain = 'Read Only'
join bi_user as system_user on system_user.name = 'system'
join bi_user as bi_system_user on bi_system_user.name = 'system'
where program.name = 'Test Program';

insert into program_user_role (program_id, user_id, role_id, active, created_by, updated_by)
select program.id, bi_user.id, role.id, false, system_user.id, system_user.id
select program.id, bi_user.id, role.id, false, bi_system_user.id, bi_system_user.id
from program
join bi_user on bi_user.name = 'Test User' or bi_user.name = 'Other Test User'
join role on role.domain = 'Read Only'
join bi_user as system_user on system_user.name = 'system'
join bi_user as bi_system_user on bi_system_user.name = 'system'
where program.name = 'Test Program1';

-- name: DeactivateProgram
Expand Down
Loading