Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 11
Línea 49... Línea 49...
49
     * Test the format of data returned in the iplookup_find_location function.
49
     * Test the format of data returned in the iplookup_find_location function.
50
     *
50
     *
51
     * @dataProvider ip_provider
51
     * @dataProvider ip_provider
52
     * @param   string  $ip The IP to test
52
     * @param   string  $ip The IP to test
53
     */
53
     */
54
    public function test_ip($ip) {
54
    public function test_ip($ip): void {
55
        $this->setup_geoip2file();
55
        $this->setup_geoip2file();
Línea 56... Línea 56...
56
 
56
 
57
        // Note: The results we get from the iplookup tests are beyond our control.
57
        // Note: The results we get from the iplookup tests are beyond our control.
58
        // We used to check a specific IP to a known location, but these have become less reliable and change too
58
        // We used to check a specific IP to a known location, but these have become less reliable and change too