From 0acbf9954955a94f9373ea65cc38536689d8bac4 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 14 Apr 2015 13:27:08 -0400 Subject: [PATCH] Fix unit tests for Cloudflare support Signed-off-by: Marc Delisle --- test/classes/PMA_Footer_test.php | 2 +- test/classes/PMA_Scripts_test.php | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/test/classes/PMA_Footer_test.php b/test/classes/PMA_Footer_test.php index 0f64889e73..85aece7d00 100644 --- a/test/classes/PMA_Footer_test.php +++ b/test/classes/PMA_Footer_test.php @@ -224,7 +224,7 @@ class PMA_Footer_Test extends PHPUnit_Framework_TestCase { $footer = new PMA_Footer(); $this->assertContains( - '', $this->_callPrivateFunction( '_includeFiles', @@ -107,8 +109,10 @@ class PMA_Scripts_Test extends PHPUnit_Framework_TestCase $this->object->addEvent('onClick', 'doSomething'); $this->assertRegExp( - '@' + . '