Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
phpunit
Priority:
Minor
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
18 Jan 2015 at 13:51 UTC
Updated:
4 Mar 2015 at 11:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
daffie commentedComment #2
Cogax commentedComment #3
Cogax commentedComment #4
zealfire commentedComment #5
zealfire commentedSubmitting a patch after reading the docs.Please review.
Thanks.
Comment #6
daffie commentedThe tricky part of this issue is that we are testing a group of classes and not one class with a number of methods.
We are not testing one class. So this change does not apply.
We are covering a whole class not just one method. So lets change this to "@covers \Drupal\Core\Ajax\AddCssCommand". The same for all the other @covers.
Comment #7
mile23+1 on #6.
Comment #8
mile23I did the following to AjaxCommandsTest:
testOpenDialogCommand()andtestOpenModalDialogCommand(). They were mocking a method which doesn't exist any more, without any expectations or return value.Room for improvement:
testOpenDialogCommand()andtestOpenModalDialogCommand().Comment #9
mile23Comment #10
daffie commentedIt all looks good to me.
It is about tests and documentation so it is allowed for beta-changes.
It is for me RTBC.
Good work @Mile23.
Comment #11
alexpottCan the issue title and summary be updated to reflect the current scope of the patch. Thanks.
Comment #12
mile23Better?
Comment #13
mile23Comment #14
alexpottCommitted 226f002 and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation to the issue summary.