-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[User accounts] Add project option to user accounts #5009
Conversation
e0d5dd6
to
e532c26
Compare
test/unittests/CandidateTest.php
Outdated
@@ -298,8 +298,8 @@ public function testGetProjectTitle() | |||
$this->_candidate->select($this->_candidateInfo['CandID']); | |||
|
|||
$this->_dbMock->expects($this->any()) | |||
->method('pselect') | |||
->willReturn($this->_listOfProjects); | |||
->method('pselectColWithIndexKey') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AlexandraLivadas @driusan had to chnage this one for it to pass travis
@ridz1208 Why is this marked as blocked? |
Depends on 4919. See description |
3600f78
to
f5e57ff
Compare
@Jkat Can you please review this PR before Thursday? Thank you!! |
$siteOptions = array(); | ||
$site = array(); | ||
|
||
$siteOptions = array(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
y
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i dont know
//====================================== | ||
// Ensure that at least one site is selected | ||
if (empty($values['ProjectIDs'])) { | ||
$errors['projectss_group'] = "You must select at least one " . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
projects_group
Code changes look fine, my sandbox is still blocked because of database administration issues, unable to test frontend at the moment. |
I just tested it and it seems to work fine. My sandbox is kinda in a screwed up state though. But yeah should be just those 2 small fixes in my review. |
@Jkat fixed !! |
This is going to fail Travis when it finishes
|
This PR was based on |
Brief summary of changes
Add the functionality to affiliate users to specific projects.
At this stage affiliation with a project does not affect any of the data access, that will be added later on.
Changes in this PR were made to very closely resemble the CenterID/User interaction for consistency
Testing instructions (if applicable)
This PR depends on the changes in #4919 for the changes in the Project table SQL. Here is the diff ridz1208/Loris@2019_07_01_project_to_registration_project...ridz1208:2019-08_05_add_user_project