WordPress.org

Make WordPress Core

Changeset 685 in tests


Ignore:
Timestamp:
04/15/12 04:25:50 (3 years ago)
Author:
SergeyBiryukov
Message:

Skip wp_read_image_metadata() tests if exif is not installed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test_image.php

    r665 r685  
    44    function setUp() { 
    55        $this->checkPHPExtension('gd'); 
     6        $this->checkPHPExtension('exif'); 
    67        if (!is_callable('wp_read_image_metadata')) 
    78            $this->markTestSkipped('wp_read_image_metadata() is not callable.'); 
Note: See TracChangeset for help on using the changeset viewer.