You've already forked php-flasher
mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-04-05 20:42:56 +01:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a0e4189fec | |||
| d50059e1a3 |
@@ -24,7 +24,7 @@ class ConfigurationTest extends TestCase
|
||||
),
|
||||
);
|
||||
|
||||
$this->assertSame($expected, $config);
|
||||
$this->assertEquals($expected, $config);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -32,13 +32,13 @@ class FlasherToastrExtensionTest extends TestCase
|
||||
$calls = $flasher->getMethodCalls();
|
||||
|
||||
$this->assertCount(2, $calls);
|
||||
$this->assertSame('addFactory', $calls[0][0]);
|
||||
$this->assertSame('template', $calls[0][1][0]);
|
||||
$this->assertSame('flasher.notification_factory', (string) $calls[0][1][1]);
|
||||
$this->assertEquals('addFactory', $calls[0][0]);
|
||||
$this->assertEquals('template', $calls[0][1][0]);
|
||||
$this->assertEquals('flasher.notification_factory', (string) $calls[0][1][1]);
|
||||
|
||||
$this->assertSame('addFactory', $calls[1][0]);
|
||||
$this->assertSame('toastr', $calls[1][1][0]);
|
||||
$this->assertSame('flasher.toastr', (string) $calls[1][1][1]);
|
||||
$this->assertEquals('addFactory', $calls[1][0]);
|
||||
$this->assertEquals('toastr', $calls[1][1][0]);
|
||||
$this->assertEquals('flasher.toastr', (string) $calls[1][1][1]);
|
||||
}
|
||||
|
||||
private function getRawContainer()
|
||||
|
||||
+2
-2
@@ -29,8 +29,8 @@
|
||||
"license": "MIT",
|
||||
"require": {
|
||||
"php": ">=5.3",
|
||||
"php-flasher/flasher-symfony": "^0.1",
|
||||
"php-flasher/flasher-toastr": "^0.1"
|
||||
"php-flasher/flasher-symfony": "^0.4",
|
||||
"php-flasher/flasher-toastr": "^0.4"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8|^5.0|^6.0|^7.0|^8.0|^9.0"
|
||||
|
||||
Reference in New Issue
Block a user