use expectNotToPerformAssertions
This commit is contained in:
parent
8a1c48b6b0
commit
738ea30f35
@ -22,7 +22,7 @@ class BorderTest extends TestCase
|
||||
$withConstructorParams = new Border([
|
||||
new BorderPart(Border::LEFT),
|
||||
]);
|
||||
$this->assertTrue(true);
|
||||
$this->expectNotToPerformAssertions();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -89,7 +89,7 @@ class WriterTest extends TestCase
|
||||
$writer->openToFile($resourcePath);
|
||||
$writer->close();
|
||||
$writer->close(); // This call should not cause any error
|
||||
$this->assertTrue(true);
|
||||
$this->expectNotToPerformAssertions();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -101,7 +101,7 @@ class SheetTest extends TestCase
|
||||
$sheet = $this->createSheet(0, 'workbookId1');
|
||||
$sheet->setName($customSheetName);
|
||||
$sheet->setName($customSheetName);
|
||||
$this->assertTrue(true);
|
||||
$this->expectNotToPerformAssertions();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -135,6 +135,6 @@ class SheetTest extends TestCase
|
||||
|
||||
$sheet = $this->createSheet(1, 'workbookId3');
|
||||
$sheet->setName($customSheetName);
|
||||
$this->assertTrue(true);
|
||||
$this->expectNotToPerformAssertions();
|
||||
}
|
||||
}
|
||||
|
@ -201,7 +201,7 @@ class WriterTest extends TestCase
|
||||
$writer->openToFile($resourcePath);
|
||||
$writer->close();
|
||||
$writer->close(); // This call should not cause any error
|
||||
$this->assertTrue(true);
|
||||
$this->expectNotToPerformAssertions();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -233,7 +233,7 @@ class WriterTest extends TestCase
|
||||
$writer->openToFile($resourcePath);
|
||||
$writer->close();
|
||||
$writer->close(); // This call should not cause any error
|
||||
$this->assertTrue(true);
|
||||
$this->expectNotToPerformAssertions();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user