Skip to:
Content

BuddyPress.org

Ticket #6868: 6868.patch

File 6868.patch, 638 bytes (added by imath, 6 years ago)
  • tests/phpunit/testcases/core/class-bp-attachment.php

    diff --git tests/phpunit/testcases/core/class-bp-attachment.php tests/phpunit/testcases/core/class-bp-attachment.php
    index a9f76d9..b8caab0 100644
    class BP_Tests_BP_Attachment_TestCases extends BP_UnitTestCase { 
    461461        public function test_bp_attachment_get_image_data() {
    462462                $image_data = BP_Attachment::get_image_data( BP_TESTS_DIR . 'assets/upside-down.jpg' );
    463463
    464                 $this->assertTrue( 3 === $image_data['meta']['orientation'] );
     464                $this->assertTrue( 3 == $image_data['meta']['orientation'] );
    465465        }
    466466
    467467        /**