Skip to content

Notification should generate assertSentTo #274

@jasonmccreary

Description

@jasonmccreary
  • Laravel Version: 7.x
  • PHP Version: 7.3
  • Blueprint Version: 1.13.1
  • Platform: All

Issue:

Currently the Notification code generates the same assertions as a Mailable. Instead, it needs to generate the appropriate assertions for a Notification (i.e. assertSentTo)

draft.yaml:

models:
  Post:
    title: string
    content: text
    author_id: id:user

controllers:
  Post:
    store:
      save: post
      send: ReviewNotification to:post.author with:post

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions