Mark SUBTOTAL test as skipped for the moment
This commit is contained in:
parent
f08eeaa2ed
commit
3298667153
|
@ -602,11 +602,10 @@ class MathTrigTest extends TestCase
|
|||
return require 'data/Calculation/MathTrig/SUBTOTALHIDDEN.php';
|
||||
}
|
||||
|
||||
public static $cellValues;
|
||||
|
||||
public function cellValues() {
|
||||
echo 'CALLED cellValues()', PHP_EOL;
|
||||
yield from [1,2,3,4,5,6,7,8,9,10];
|
||||
protected function cellValues($cellValues) {
|
||||
return function() use ($cellValues) {
|
||||
yield from $cellValues;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -616,8 +615,9 @@ class MathTrigTest extends TestCase
|
|||
*/
|
||||
public function testNestedSUBTOTAL($expectedResult, ...$args)
|
||||
{
|
||||
self::$cellValues = Functions::flattenArray(array_slice($args, 1));
|
||||
$cellValueGenerator = $this->cellValues();
|
||||
$this->markTestSkipped('Revisite when cellValueGenarator() works for mocking getValue() calls');
|
||||
|
||||
$cellValueGenerator = $this->cellValues(Functions::flattenArray(array_slice($args, 1)));
|
||||
|
||||
$cell = $this->getMockBuilder(Cell::class)
|
||||
->setMethods(['getValue', 'isFormula'])
|
||||
|
|
Loading…
Reference in New Issue