Unneeded test.
[blog.pm-common-perl-mods.git] / Rose-DBx-Object-I18N / t / 03internal.t
blob94b01b082e761875709c3cca75b220b46fc6fa18
1 #!/usr/bin/perl
3 use strict;
4 use warnings;
6 use Test::More 'tests' => 6;
8 use lib 't/lib';
10 use User;
11 use UserI18N;
13 my $static = User->new( name => 'abc' );
14 ok( $static->meta->i18n_translation_rel_name() );
16 is( $static->meta->i18n_translation_rel_name(), 'user_i18n' );
18 ok( not defined $static->meta->i18n_static_rel_name() );
20 #is_deeply( [ $static->i18n_languages ], [ qw/ ru en ua / ] );
22 my $translation = UserI18N->new( signature => 'abc' );
23 ok( $translation->meta->i18n_static_rel_name() );
25 is( $translation->meta->i18n_static_rel_name(), 'user' );
27 ok( not defined $translation->meta->i18n_translation_rel_name() );