fixture file name by aliases due to db table prefix

Issue #6 resolved
Denis Medved
repo owner created an issue

I was getting DB aliases like {{mytable}} that didn't work for me inside the UnitTest fixture call probably because I use prefixes tbl_ I simply added line 55 {{{ $tableName = str_replace(array("{{","}}"), array("tbl_",""),$obj->tableName()); }}} the prefix could even be pulled out of config db settings

reported by oceatoon
http://www.yiiframework.com/extension/generator4fixtures/#c5350

Comments (1)

  1. Log in to comment