From 8447bae77c19a2350bd48b0f0c5b3a56a35c7af9 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Sun, 28 Jun 2015 06:27:48 -0400
Subject: [PATCH] Require Mbstring and OpenSSL extensions (#1490415) - remove redundant code
---
tests/Framework/Utils.php | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tests/Framework/Utils.php b/tests/Framework/Utils.php
index b9b99ff..d5b853d 100644
--- a/tests/Framework/Utils.php
+++ b/tests/Framework/Utils.php
@@ -426,6 +426,7 @@
function test_random_bytes()
{
$this->assertSame(15, strlen(rcube_utils::random_bytes(15)));
+ $this->assertSame(15, strlen(rcube_utils::random_bytes(15, true)));
$this->assertSame(1, strlen(rcube_utils::random_bytes(1)));
$this->assertSame(0, strlen(rcube_utils::random_bytes(0)));
$this->assertSame(0, strlen(rcube_utils::random_bytes(-1)));
--
Gitblit v1.9.1