Microweber\tests\LogTest::testLogRead PHP Method

testLogRead() public method

public testLogRead ( )
    public function testLogRead()
    {
        mw()->log_manager->save($this->data);
        $data = array();
        $data['field'] = 'log_test';
        $data['value'] = $this->value;
        $get = mw()->log_manager->get($data);
        foreach ($get as $item) {
            $this->assertEquals($this->value, $item['value']);
        }
    }