Replies: 1 comment
-
You can call the map yourself: If you really need to test the output, you can't use these test helpers, as they are meant to mock the export, not to execute it. You should read the file yourself in your test if you want to do that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I am trying to write assertions on the final csv output of a queued export.
I know i can retrieve the export with that function
The problem is how i can have the final result as in the generated csv ? I can do
$export->query()->get()
but, again it will not take the mapping into account.I would expect something like
export->toArray()
to be avalaible.Any way to achieve it ?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions