Posted by dsdeiz on July 11, 2012 at 4:46pm
6 followers
| Project: | Drupal core |
| Version: | 7.x-dev |
| Component: | simpletest.module |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
| Issue tags: | Novice |
Issue Summary
Hi, there seems to be a minor typo on testAuthUserUserLogin(). I see $this->DrupalGet in the function.
Comments
#1
Patch attached.
#2
The patch in #1 applied cleanly and successfully changed the two occurrences of
DrupalGettodrupalGet.I performed a search through a fresh checkout of both Drupal 8 and Drupal 7 and was not able to find any occurrences of
DrupalGetin Drupal 8 and only the two occurrences ofDrupalGetthat are covered by the patch in Drupal 7.#3
For archives' sake, here's http://the-echoplex.net/log/php-case-sensitivity the PHP case sensitivy rules. Kinda nuts. I amended that post a little:
#4
Oh yeah. Was a little aware that methods were case insensitive. Was just wondering if it would somehow confuse other people. And it seems that that's the only function that has this very little typo. Anyway, just trying to keep it clean.
#5
Yes, consistent code style is very important and thanks for the patch, I posted #3 to make sure people understand why it didn't break.
#6
Nice find!
Can we get a quick re-roll for D8? Main difference is the /core subdirectory and the PSR-0 folder structure.
#7
As per #2, I performed a search through a fresh checkout of Drupal 8 and was not able to find any occurrences of
DrupalGet, so I think that this is fixed. :)#8
Oops! I didn't actually commit this to D7, cos I was waiting on a D8 patch first.
Now, though, it's fixed. :) Hooray!
Brought to you by the Mile High Committers Club™. Thanks, Alaska Airlines!
#9
Automatically closed -- issue fixed for 2 weeks with no activity.