Skip to content

Commit 14cabb9

Browse files
test: reset rcmail singleton between tests
Agent-Logs-Url: https://github.com/GermanCoding/Roundcube_TLS_Icon/sessions/1a348c23-50d8-4c86-9ac7-408ac7badf4a Co-authored-by: GermanCoding <4279661+GermanCoding@users.noreply.github.com>
1 parent 40d1440 commit 14cabb9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

test/TlsIconTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ public function __construct($name = null, array $data = [], $dataName = '')
5151
$this->strNewPostfixTLSv13 = '<img class="lock_icon" src="' . $plugin->get_svg_path('lock.svg') . '" title="TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (secp384r1) server-signature RSA-PSS (4096 bits) server-digest SHA256" />';
5252
}
5353

54+
protected function tearDown(): void
55+
{
56+
rcmail::$instance = null;
57+
parent::tearDown();
58+
}
59+
5460
public function testInstance()
5561
{
5662
$o = new tls_icon();

0 commit comments

Comments
 (0)