Skip to content

Commit

Permalink
Default locale, dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Sören committed Jun 19, 2023
1 parent a086fbe commit e652f7c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 22 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Test PHP 7.4
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up PHP 7.4
uses: shivammathur/setup-php@v2
with:
Expand All @@ -23,7 +23,7 @@ jobs:
name: Test PHP 8.0
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up PHP 8.0
uses: shivammathur/setup-php@v2
with:
Expand All @@ -38,7 +38,7 @@ jobs:
name: Test PHP 8.1
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up PHP 8.1
uses: shivammathur/setup-php@v2
with:
Expand All @@ -53,7 +53,7 @@ jobs:
name: Test PHP 8.2
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up PHP 8.2
uses: shivammathur/setup-php@v2
with:
Expand All @@ -68,7 +68,7 @@ jobs:
name: Test PHP 8.3
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up PHP 8.3
uses: shivammathur/setup-php@v2
with:
Expand All @@ -83,7 +83,7 @@ jobs:
name: Code standard
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up PHP 8.2
uses: shivammathur/setup-php@v2
with:
Expand All @@ -98,7 +98,7 @@ jobs:
name: Code coverage
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up PHP 8.2
uses: shivammathur/setup-php@v2
with:
Expand Down
15 changes: 0 additions & 15 deletions tests/FormatTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,6 @@ public function testFormat(): void
$this->assertEquals('1234.56', $numerics->format(1234.56, 2));
}

/**
* Test US format
*/
public function testSvSeFormat(): void
{
$numerics = new Numerics();
$numerics->setLocale('sv_SE.utf-8');

$this->assertEquals('1 234,56', $numerics->format(1234.56, 2));

$numerics = new Numerics(null, 'sv_SE.utf-8');

$this->assertEquals('1 234,56', $numerics->format(1234.56, 2));
}

/**
* Test US format
*/
Expand Down

0 comments on commit e652f7c

Please sign in to comment.