Skip to content

Commit c2c6baf

Browse files
committed
Updated assetic/framework
1 parent 7b80a88 commit c2c6baf

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

tests/AssetManagerTest/Service/AssetCacheManagerTest.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,6 @@ public function testGetProviderWithMultipleDefinition()
212212
'dir' => 'somewhere',
213213
)
214214
),
215-
216-
'my_bc_check.tmp' => array(
217-
'cache' => 'Filesystem',
218-
),
219215
);
220216

221217
$serviceManager->setFactory(
@@ -241,9 +237,6 @@ function () {
241237

242238
$provider = $reflectionMethod->invoke($assetManager, 'my_provided_class.tmp');
243239
$this->assertTrue($provider instanceof FilePathCache);
244-
245-
$provider = $reflectionMethod->invoke($assetManager, 'my_bc_check.tmp');
246-
$this->assertTrue($provider instanceof ApcCache);
247240
}
248241

249242
/**

tests/AssetManagerTest/Service/AssetFilterManagerTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ public function testFiltersAreInstantiatedOnce()
116116
if ($filterInstance === null) {
117117
$filterInstance = $filter;
118118
}
119-
return $filter === $filterInstance;
119+
$this->assertSame($filter, $filterInstance);
120+
121+
return $filter === $filterInstance;
120122
}));
121123

122124
$assetFilterManager->setFilters('test/path.test', $asset);

0 commit comments

Comments
 (0)