X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F85utf8.t;h=a07e42ade57f643a0d5ce2c0a4f7fe7aa6118ac2;hb=f73701540fd3636cae006be6631f037275be6b53;hp=af6dedf5fde6d90a03415a2d1a9c3d4099e26d6d;hpb=70c288086248e5a4008490df22a56632341f2473;p=dbsrgits%2FDBIx-Class.git diff --git a/t/85utf8.t b/t/85utf8.t index af6dedf..a07e42a 100644 --- a/t/85utf8.t +++ b/t/85utf8.t @@ -37,6 +37,7 @@ warnings_are ( warnings_like ( sub { + local $ENV{DBIC_UTF8COLUMNS_OK}; package A::Test1Loud; use base 'DBIx::Class::Core'; __PACKAGE__->load_components(qw(Core +A::Comp Ordered UTF8Columns)); @@ -110,7 +111,7 @@ $storage->debug ($orig_debug); # bind values are always alphabetically ordered by column, thus [1] # the single quotes are an artefact of the debug-system -TODO: { +{ local $TODO = "This has been broken since rev 1191, Mar 2006"; is ($bind[1], "'$bytestream_title'", 'INSERT: raw bytes sent to the database'); } @@ -174,7 +175,7 @@ $cd->update ({ title => $utf8_title }); $cd->title('something_else'); ok( $cd->is_column_changed('title'), 'column is dirty after setting to something completely different'); -TODO: { +{ local $TODO = 'There is currently no way to propagate aliases to inflate_result()'; $cd = $schema->resultset('CD')->find ({ title => $utf8_title }, { select => 'title', as => 'name' }); ok (utf8::is_utf8( $cd->get_column ('name') ), 'utf8 flag propagates via as');