Révision b0dc3a2e
Ajouté par Julien Enselme il y a plus de 7 ans
drupal7/modules/statistics/statistics.test | ||
---|---|---|
35 | 35 |
'title' => 'test', |
36 | 36 |
'path' => 'node/1', |
37 | 37 |
'url' => 'http://example.com', |
38 |
'hostname' => '192.168.1.1',
|
|
38 |
'hostname' => '1.2.3.3',
|
|
39 | 39 |
'uid' => 0, |
40 | 40 |
'sid' => 10, |
41 | 41 |
'timer' => 10, |
... | ... | |
268 | 268 |
*/ |
269 | 269 |
function testIPAddressBlocking() { |
270 | 270 |
// IP address for testing. |
271 |
$test_ip_address = '192.168.1.1';
|
|
271 |
$test_ip_address = '1.2.3.3';
|
|
272 | 272 |
|
273 | 273 |
// Verify the IP address from accesslog appears on the top visitors page |
274 | 274 |
// and that a 'block IP address' link is displayed. |
Formats disponibles : Unified diff
Update to Drupal 7.52