diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-06-30 15:51:51 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-06-30 15:51:51 +0000 |
commit | 9e0af44f621fb015d5913a629513e5b60aaa06c2 (patch) | |
tree | 3fec0091b3336765951188468af1b9d5e5322ba8 /modules/statistics | |
parent | f363c9209db6d97bf702516876b13964b2c84179 (diff) | |
download | brdo-9e0af44f621fb015d5913a629513e5b60aaa06c2.tar.gz brdo-9e0af44f621fb015d5913a629513e5b60aaa06c2.tar.bz2 |
- Patch #523286 by aspilicious, Bojhan, anarcat, aaronbauman: cleanup IP blocking.
Diffstat (limited to 'modules/statistics')
-rw-r--r-- | modules/statistics/statistics.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/statistics/statistics.test b/modules/statistics/statistics.test index 8922144ad..210b639d2 100644 --- a/modules/statistics/statistics.test +++ b/modules/statistics/statistics.test @@ -217,7 +217,7 @@ class StatisticsBlockVisitorsTestCase extends StatisticsTestCase { $this->assertText(t('IP address blocking'), t('IP blocking page displayed.')); $edit = array(); $edit['ip'] = $test_ip_address; - $this->drupalPost('admin/config/people/ip-blocking', $edit, t('Save')); + $this->drupalPost('admin/config/people/ip-blocking', $edit, t('Add')); $ip = db_query("SELECT iid from {blocked_ips} WHERE ip = :ip", array(':ip' => $edit['ip']))->fetchField(); $this->assertNotEqual($ip, FALSE, t('IP address found in database')); $this->assertRaw(t('The IP address %ip has been blocked.', array('%ip' => $edit['ip'])), t('IP address was blocked.')); |