Problem/Motivation
VocabularyUnitTest extends TaxonomyTestBase, which in turn extends WebTestBase. I.e. it's not a unit test but a web test.
Proposed resolution
Rename VocabularyUnitTest.
Judging from the description I would propose VocabularyCrudTest.
There's also a VocabularyTest in the same namespace which is a little bit ambiguous, we should perhaps rename that to VocabularyUiTest
Remaining tasks
User interface changes
API changes
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | rename_vocab_tests-2256405-2.patch | 1.81 KB | blueminds |
| #1 | rename_vocab_tests-2256405-1.patch | 1.81 KB | blueminds |
Comments
Comment #1
blueminds commentedRenamed in the attached patch.
Comment #3
tstoecklerAwesome, this looks almost ready. Thanks!
I assume the test failure is random. Seen that a lot lately.
Per our standards this should
...UiTest, i.e with a lowercase "i" in "Ui".While we're at it, can we change that into "Contains ..."?
Comment #4
blueminds commentedThanks for the review, updated the patch.
Comment #5
tstoecklerAwesome, thanks a lot for the quick follow-up!
Comment #6
tstoecklerFixing title.
Comment #7
dries commentedCommitted to 8.x. Thanks.
Comment #9
sunHm. Something went wrong with that commit. The old files were deleted without adding the new files. Not sure how you managed to do that, but it happened ;)
That said, one of the renamed classes wasn't correct either (wrong letter-casing) — PSR-* is case-sensitive, so that causes the class to not be found.
Due to that, it doesn't really help to retroactively commit the lost classes. I recommend to cleanly revert the commit first:
Comment #11
sunComment #12
alexpottFixed the borked commit
Comment #15
alexpottJust renamed
too