Compare commits

...

1 Commits

Author SHA1 Message Date
KHOUBZA Younes a0e4189fec replace assetSame by assetEquals 2021-05-09 17:18:48 +00:00
2 changed files with 7 additions and 7 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()