Deprecating passing strings as class name in fixtures.
Merge pull request #12000 from wangjohn/deprecating_class_name_string_in_fixtures

Deprecating passing strings as class name in fixtures.