Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add AddressesServiceProvider to the testCase #42

Merged
merged 17 commits into from
Mar 12, 2021

Conversation

wolfrednicolas
Copy link
Contributor

No description provided.

@@ -29,6 +29,7 @@ public function email()

return $mail->feedback->id === $feedback->id &&
$mail->hasFrom($feedback->location->contact_email, $feedback->location->title) &&
//Todo: require Bookings
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIPOFF/bookings#47 is blocking this since $feedback->participant->email depends on the Participant model email field.

@@ -40,13 +40,7 @@ public function data_provider_for_all_permissions_as_creator()
{
return [
'view-true' => [ 'view', self::createPermissionedUser('view feedbacks', true), true ],
'view-false' => [ 'view', self::createPermissionedUser('view feedbacks', false), false ],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since I'm assuming Feedback should only be viewed, would any of these checks be required?

Copy link
Member

@drewroberts drewroberts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 📱

@drewroberts drewroberts merged commit 3418bc0 into main Mar 12, 2021
@drewroberts drewroberts deleted the wolfrednicolas/feature/add-addresses-to-testCase branch March 12, 2021 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants