Compare commits

...

2 Commits

Author SHA1 Message Date
KHOUBZA Younes a0e4189fec replace assetSame by assetEquals 2021-05-09 17:18:48 +00:00
KHOUBZA Younes d50059e1a3 update flasher dependencies 2021-05-09 14:33:43 +00:00
3 changed files with 9 additions and 9 deletions
@@ -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
View File
@@ -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"