summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-11-30 01:15:39 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2019-12-08 02:20:51 +0100
commit47e209e12594b935ba1670096ae4c55538ebde94 (patch)
tree656e845a012f0b796e6a79faa40ec5e512d00dd6 /tests
parent42721e95726559b4a601240bb5b0fe4e5d755b2a (diff)
ImportSchedule: Append talk language to shift title
Resolves #587 (Include talk language into Frab-imported shift titles)
Diffstat (limited to 'tests')
-rw-r--r--tests/Unit/Helpers/Schedule/EventTest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Unit/Helpers/Schedule/EventTest.php b/tests/Unit/Helpers/Schedule/EventTest.php
index 262aeea7..d9706b13 100644
--- a/tests/Unit/Helpers/Schedule/EventTest.php
+++ b/tests/Unit/Helpers/Schedule/EventTest.php
@@ -84,6 +84,7 @@ class EventTest extends TestCase
* @covers \Engelsystem\Helpers\Schedule\Event::getId
* @covers \Engelsystem\Helpers\Schedule\Event::getRoom
* @covers \Engelsystem\Helpers\Schedule\Event::getTitle
+ * @covers \Engelsystem\Helpers\Schedule\Event::setTitle
* @covers \Engelsystem\Helpers\Schedule\Event::getSubtitle
* @covers \Engelsystem\Helpers\Schedule\Event::getType
* @covers \Engelsystem\Helpers\Schedule\Event::getDate
@@ -141,5 +142,8 @@ class EventTest extends TestCase
$this->assertEquals($attachments, $event->getAttachments());
$this->assertEquals('https://foo.bar/2-lorem', $event->getUrl());
$this->assertEquals('https://videos.orem.ipsum/2-lorem.mp4', $event->getVideoDownloadUrl());
+
+ $event->setTitle('Event title');
+ $this->assertEquals('Event title', $event->getTitle());
}
}