File: tests/ErrorInfoTest.php

Recommend this page to a friend!
  Classes of Scott Arciszewski  >  EasyDB  >  tests/ErrorInfoTest.php  >  Download  
File: tests/ErrorInfoTest.php
Role: Class source
Content type: text/plain
Description: Class source
Class: EasyDB
Simple Database Abstraction Layer around PDO
Author: By
Last change: manually changing to squish "method name is not in camel caps format" style error
single-lining test classes after composer run fix-style
running composer run fix-style
Date: 3 years ago
Size: 605 bytes



Class file image Download


 * Class ErrorInfoTest
 * @package ParagonIE\EasyDB\Tests
class ErrorInfoTest extends EasyDBTest

     * @dataProvider goodFactoryCreateArgument2EasyDBProvider
     * @param callable $cb
public function testNoError(callable $cb)
$db = $this->easyDBExpectedFromCallable($cb);

$info = $db->errorInfo();
$this->assertSame($info[0], '00000');
$this->assertSame($info[1], null);
$this->assertSame($info[2], null);

For more information send a message to info at phpclasses dot org.