Microweber\tests\LogTest::testLogWrite PHP Метод

testLogWrite() публичный Метод

public testLogWrite ( )
    public function testLogWrite()
    {
        $data = array();
        $data['value'] = $this->value;
        $data['field'] = 'log_test';
        $data['rel_type'] = 'log_unit_test';
        $save = mw()->log_manager->save($data);
        $this->assertEquals(true, $save > 0);
    }