Dshafik\MySQL\Tests\MySqlShimTest::test_mysql_insert_id PHP Method

test_mysql_insert_id() public method

    public function test_mysql_insert_id()
    {
        $this->getConnection("shim_test");
        $result = mysql_query("INSERT INTO\n                testing (id, one, two, three, four, five, six, seven, eight, nine, ten, eleven)\n             VALUES\n                (5, '5', '5', '5', '5', '5', '5', '5', '5', '5', '5', '5')");
        $this->assertTrue($result);
        $this->assertEquals(5, mysql_insert_id());
    }
MySqlShimTest