23 lines
560 B
Plaintext
23 lines
560 B
Plaintext
|
--TEST--
|
||
|
Check for vtiful presence
|
||
|
--SKIPIF--
|
||
|
<?php if (!extension_loaded("xlswriter")) print "skip"; ?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$config = ['path' => './tests'];
|
||
|
$excel = new \Vtiful\Kernel\Excel($config);
|
||
|
$fileFd = $excel->fileName('tutorial01.xlsx');
|
||
|
var_dump($fileFd);
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
object(Vtiful\Kernel\Excel)#1 (3) {
|
||
|
["config":"Vtiful\Kernel\Excel":private]=>
|
||
|
array(1) {
|
||
|
["path"]=>
|
||
|
string(7) "./tests"
|
||
|
}
|
||
|
["fileName":"Vtiful\Kernel\Excel":private]=>
|
||
|
string(23) "./tests/tutorial01.xlsx"
|
||
|
["read_row_type":"Vtiful\Kernel\Excel":private]=>
|
||
|
NULL
|
||
|
}
|