From 745ed40d46c18c683322b19939455deed52e94df Mon Sep 17 00:00:00 2001
From: Harald Eilertsen
Date: Sat, 18 Jun 2022 19:53:46 +0200
Subject: Fix ConcertTable tests and markup.
---
includes/admin/views/_concerts_table.php | 8 +++-----
tests/ConcertsTableTest.php | 13 ++++++++-----
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/includes/admin/views/_concerts_table.php b/includes/admin/views/_concerts_table.php
index ad7aebc..4f9b3c9 100644
--- a/includes/admin/views/_concerts_table.php
+++ b/includes/admin/views/_concerts_table.php
@@ -310,7 +310,7 @@ if ( ! class_exists( 'GiglogAdmin_ConcertsTable' ) ) {
$content .= 'Tickets | ';
}
- $content .= ' iCal | ';
+ $content .= 'iCal | ';
$content .= '';
$last_city = $concert->venue()->city();
}
@@ -320,7 +320,7 @@ if ( ! class_exists( 'GiglogAdmin_ConcertsTable' ) ) {
$content .= $this->render_pagination();
// from main form that includes filters
- $content .= '
';
+ $content .= '';
// return the table
return $content;
@@ -329,7 +329,7 @@ if ( ! class_exists( 'GiglogAdmin_ConcertsTable' ) ) {
private function render_filters() : string {
global $wp_locale;
- $select = '