WordPress.org

Make WordPress Core

Changeset 1304 in tests


Ignore:
Timestamp:
07/08/2013 01:39:02 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Use correct table prefix. props codebykat. fixes #24706.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/meta/query.php

    r1281 r1304  
    103103
    104104        // The WHERE should check my_third_key against an unaliased table
    105         $this->assertEquals( 1, substr_count( $sql['where'], "wp_postmeta.meta_key = 'my_third_key'" ) );
     105        $this->assertEquals( 1, substr_count( $sql['where'], "$wpdb->postmeta.meta_key = 'my_third_key'" ) );
    106106
    107107    }
Note: See TracChangeset for help on using the changeset viewer.