Added 'distributor' field to I5 metadata
Change-Id: I464480fd82511c91d4ab252b8657a5db95b35c5e
diff --git a/t/real/hnc.t b/t/real/hnc.t
index df2a162..88578db 100644
--- a/t/real/hnc.t
+++ b/t/real/hnc.t
@@ -57,6 +57,9 @@
ok(!$meta->{A_reference}, 'Reference');
is($meta->{S_language}, 'hu', 'Language');
+is($meta->{S_availability}, 'Kutatási célokra, megállapodás alapján, hozzáférhetÅ‘', 'Availability');
+is($meta->{A_distributor}, 'MTA Nyelvtudományi Intézet', 'Distributor');
+
ok(!$meta->{T_corpus_title}, 'Correct Corpus title');
ok(!$meta->{T_corpus_sub_title}, 'Correct Corpus Sub title');
ok(!$meta->{T_corpus_author}, 'Correct Corpus author');
diff --git a/t/real/wpe.t b/t/real/wpe.t
index a3413d2..962b361 100644
--- a/t/real/wpe.t
+++ b/t/real/wpe.t
@@ -93,7 +93,8 @@
my $koral = decode_json($tokens->to_json(0.4));
-my $link = $koral->{fields}->[5];
+my $link = $koral->{fields}->[6];
+
is($link->{'@type'}, 'koral:field', 'attachement');
is($link->{type}, 'type:attachement', 'attachement');
is($link->{key}, 'externalLink', 'attachement');