Mercurial > hg > isophonics-drupal-site
comparison core/modules/views/tests/src/Unit/ViewsDataTest.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
11:bfffd8d7479a | 12:7a779792577d |
---|---|
234 ->willReturn($this->viewsData()); | 234 ->willReturn($this->viewsData()); |
235 $this->moduleHandler->expects($this->at(5)) | 235 $this->moduleHandler->expects($this->at(5)) |
236 ->method('alter') | 236 ->method('alter') |
237 ->with('views_data', $expected_views_data); | 237 ->with('views_data', $expected_views_data); |
238 | 238 |
239 | |
240 // The cache should only be called once (before the clear() call) as get | 239 // The cache should only be called once (before the clear() call) as get |
241 // will get all table data in the first get(). | 240 // will get all table data in the first get(). |
242 $this->cacheBackend->expects($this->at(0)) | 241 $this->cacheBackend->expects($this->at(0)) |
243 ->method('get') | 242 ->method('get') |
244 ->with("views_data:en") | 243 ->with("views_data:en") |