Remove code which migrated into the core of SQLA
[dbsrgits/DBIx-Class.git] / t / sqlmaker / op_ident.t
diff --git a/t/sqlmaker/op_ident.t b/t/sqlmaker/op_ident.t
deleted file mode 100644 (file)
index 46668a6..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-use strict;
-use warnings;
-
-use Test::More;
-
-use lib qw(t/lib);
-use DBIC::SqlMakerTest;
-
-use_ok('DBICTest');
-
-my $schema = DBICTest->init_schema();
-
-my $sql_maker = $schema->storage->sql_maker;
-
-for my $q ('', '"') {
-
-  $sql_maker->quote_char($q);
-
-  is_same_sql_bind (
-    \[ $sql_maker->select ('artist', '*', { 'artist.name' => { -ident => 'artist.pseudonym' } } ) ],
-    "SELECT *
-      FROM ${q}artist${q}
-      WHERE ${q}artist${q}.${q}name${q} = ${q}artist${q}.${q}pseudonym${q}
-    ",
-    [],
-  );
-
-  is_same_sql_bind (
-    \[ $sql_maker->update ('artist',
-      { 'artist.name' => { -ident => 'artist.pseudonym' } },
-      { 'artist.name' => { '!=' => { -ident => 'artist.pseudonym' } } },
-    ) ],
-    "UPDATE ${q}artist${q}
-      SET ${q}artist${q}.${q}name${q} = ${q}artist${q}.${q}pseudonym${q}
-      WHERE ${q}artist${q}.${q}name${q} != ${q}artist${q}.${q}pseudonym${q}
-    ",
-    [],
-  );
-}
-
-done_testing;