Bug 12478 Shifting tests and adding copyright headers
authorChris Cormack <chrisc@catalyst.net.z>
Thu, 14 Apr 2016 20:23:13 +0000 (20:23 +0000)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Tue, 26 Apr 2016 20:20:13 +0000 (20:20 +0000)
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>

t/Koha_ElasticSearch.t [deleted file]
t/db_dependent/Koha_ElasticSearch.t [new file with mode: 0644]
t/db_dependent/Koha_ElasticSearch_Indexer.t [moved from t/Koha_ElasticSearch_Indexer.t with 58% similarity]
t/db_dependent/Koha_SearchEngine_Elasticsearch_Search.t [moved from t/Koha_SearchEngine_Elasticsearch_Search.t with 50% similarity]

diff --git a/t/Koha_ElasticSearch.t b/t/Koha_ElasticSearch.t
deleted file mode 100644 (file)
index 8888f2c..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-#===============================================================================
-#
-#         FILE: Koha_ElasticSearch.t
-#
-#  DESCRIPTION:
-#
-#        FILES: ---
-#         BUGS: ---
-#        NOTES: ---
-#       AUTHOR: Chris Cormack (rangi), chrisc@catalyst.net.nz
-# ORGANIZATION: Koha Development Team
-#      VERSION: 1.0
-#      CREATED: 09/12/13 08:56:44
-#     REVISION: ---
-#===============================================================================
-
-use strict;
-use warnings;
-
-use Test::More tests => 1;                      # last test to print
-
-use_ok('Koha::ElasticSearch');
diff --git a/t/db_dependent/Koha_ElasticSearch.t b/t/db_dependent/Koha_ElasticSearch.t
new file mode 100644 (file)
index 0000000..d9ea31f
--- /dev/null
@@ -0,0 +1,23 @@
+# Copyright 2015 Catalyst IT
+#
+# This file is part of Koha.
+#
+# Koha is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# Koha is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Koha; if not, see <http://www.gnu.org/licenses>
+
+use strict;
+use warnings;
+
+use Test::More tests => 1;                      # last test to print
+
+use_ok('Koha::ElasticSearch');
similarity index 58%
rename from t/Koha_ElasticSearch_Indexer.t
rename to t/db_dependent/Koha_ElasticSearch_Indexer.t
index d04a81f..80539e3 100644 (file)
@@ -1,19 +1,20 @@
+# Copyright 2015 Catalyst IT
 #
-#===============================================================================
 #
-#         FILE: Koha_ElasticSearch_Indexer.t
+# This file is part of Koha.
 #
-#  DESCRIPTION:
+# Koha is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
 #
-#        FILES: ---
-#         BUGS: ---
-#        NOTES: ---
-#       AUTHOR: Chris Cormack (rangi), chrisc@catalyst.net.nz
-# ORGANIZATION: Koha Development Team
-#      VERSION: 1.0
-#      CREATED: 09/12/13 08:57:25
-#     REVISION: ---
-#===============================================================================
+# Koha is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Koha; if not, see <http://www.gnu.org/licenses>.
 
 use strict;
 use warnings;
@@ -1,20 +1,19 @@
+# Copyright 2015 Catalyst IT
 #
-#===============================================================================
+# This file is part of Koha.
 #
-#         FILE: Koha_SearchEngine_Elasticsearch_Search.t
+# Koha is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
 #
-#  DESCRIPTION:
+# Koha is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
 #
-#        FILES: ---
-#         BUGS: ---
-#        NOTES: ---
-#       AUTHOR: Chris Cormack (rangi), chrisc@catalyst.net.nz
-# ORGANIZATION: Koha Development Team
-#      VERSION: 1.0
-#      CREATED: 09/12/13 09:43:29
-#     REVISION: ---
-#===============================================================================
-
+# You should have received a copy of the GNU General Public License
+# along with Koha; if not, see <http://www.gnu.org/licenses>.
 use strict;
 use warnings;