mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
init introduce namespaces
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
<?php
|
||||
namespace CSV\tests\methods;
|
||||
|
||||
class SaveTest extends PHPUnit\Framework\TestCase {
|
||||
use CSV\Csv;
|
||||
use PHPUnit_Framework_TestCase as TestCase;
|
||||
|
||||
/** @var parseCSV */
|
||||
class SaveTest extends TestCase
|
||||
{
|
||||
|
||||
/** @var Csv */
|
||||
private $csv;
|
||||
|
||||
private $temp_filename;
|
||||
@@ -11,7 +16,7 @@ class SaveTest extends PHPUnit\Framework\TestCase {
|
||||
* Setup our test environment objects; will be called before each test.
|
||||
*/
|
||||
public function setUp() {
|
||||
$this->csv = new parseCSV();
|
||||
$this->csv = new Csv();
|
||||
$this->csv->auto(__DIR__ . '/../example_files/single_column.csv');
|
||||
|
||||
// Remove last 2 lines to simplify comparison
|
||||
|
||||
Reference in New Issue
Block a user