use expectNotToPerformAssertions

This commit is contained in:
madflow authored and Adrien Loison committed 2018-10-08 10:09:47 +02:00
1 parent 8a1c48b6b0
commit 738ea30f35
5 files changed
+6 -6

No files matched your search

@@ -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();
} }
/** /**
+1 -1
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();
} }
/** /**
@@ -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();
} }
} }
+1 -1
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();
} }
/** /**
+1 -1
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();
} }
/** /**