Browse Source

Merge pull request #651 from teckids/fix-emoji-testsuite

fix running the testsuite for Emoji
pull/652/head
Jaussoin Timothée 8 years ago
committed by GitHub
parent
commit
99228c6c83
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/Movim/Emoji/replace-test.php
  2. 0
      src/Movim/Emoji/test-all-images.sh

4
src/Movim/Emoji/replace-test.php

@ -1,5 +1,7 @@
<?php
namespace App;
define('BASE_URI', '(base)');
mb_internal_encoding("UTF-8");
@ -16,4 +18,4 @@ class Configuration
require_once '../Emoji.php';
$text = file_get_contents('php://stdin');
echo Emoji::getInstance()->replace($text);
echo \Movim\Emoji::getInstance()->replace($text);

0
src/Movim/Emoji/test-all-images.sh

Loading…
Cancel
Save