use expectNotToPerformAssertions

This commit is contained in:
madflow 2018-10-08 08:34:44 +02:00 committed by Adrien Loison
parent 8a1c48b6b0
commit 738ea30f35
5 changed files with 6 additions and 6 deletions

View File

@ -22,7 +22,7 @@ class BorderTest extends TestCase
$withConstructorParams = new Border([ $withConstructorParams = new Border([
new BorderPart(Border::LEFT), new BorderPart(Border::LEFT),
]); ]);
$this->assertTrue(true); $this->expectNotToPerformAssertions();
} }
/** /**

View File

@ -89,7 +89,7 @@ class WriterTest extends TestCase
$writer->openToFile($resourcePath); $writer->openToFile($resourcePath);
$writer->close(); $writer->close();
$writer->close(); // This call should not cause any error $writer->close(); // This call should not cause any error
$this->assertTrue(true); $this->expectNotToPerformAssertions();
} }
/** /**

View File

@ -101,7 +101,7 @@ class SheetTest extends TestCase
$sheet = $this->createSheet(0, 'workbookId1'); $sheet = $this->createSheet(0, 'workbookId1');
$sheet->setName($customSheetName); $sheet->setName($customSheetName);
$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 = $this->createSheet(1, 'workbookId3');
$sheet->setName($customSheetName); $sheet->setName($customSheetName);
$this->assertTrue(true); $this->expectNotToPerformAssertions();
} }
} }

View File

@ -201,7 +201,7 @@ class WriterTest extends TestCase
$writer->openToFile($resourcePath); $writer->openToFile($resourcePath);
$writer->close(); $writer->close();
$writer->close(); // This call should not cause any error $writer->close(); // This call should not cause any error
$this->assertTrue(true); $this->expectNotToPerformAssertions();
} }
/** /**

View File

@ -233,7 +233,7 @@ class WriterTest extends TestCase
$writer->openToFile($resourcePath); $writer->openToFile($resourcePath);
$writer->close(); $writer->close();
$writer->close(); // This call should not cause any error $writer->close(); // This call should not cause any error
$this->assertTrue(true); $this->expectNotToPerformAssertions();
} }
/** /**