Skip to content

Phpunit error in mac. #215

@arshidkv12

Description

@arshidkv12

Bug Report

phpunit error in mac.

Q A
Version(s) 3.7x

Summary

  1. LaminasTest\Diactoros\UriTest::testUtf8Uri
    Failed asserting that two strings are identical.
    --- Expected
    +++ Actual
    @@ @@
    -'ουτοπία.δπθ.gr'
    +'ο�_�_ο�_ία.δ�_θ.gr'

Current behavior

$uri = new Uri('http://ουτοπία.δπθ.gr/');
$uri->getHost() The output is ο�_�_ο�_ία.δ�_θ.gr

How to reproduce

$uri = new Uri('http://ουτοπία.δπθ.gr/');
$uri->getHost()

Run on Mac.

Expected behavior

$uri = new Uri('http://ουτοπία.δπθ.gr/');
$uri->getHost() expecting  ουτοπία.δπθ.gr

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions