We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d6c667 commit 713bf24Copy full SHA for 713bf24
lib/internal/Magento/Framework/Code/Test/Unit/Generator/IoTest.php
@@ -81,15 +81,15 @@ public function testWriteResultFile()
81
->method('filePutContents')
82
->with(
83
$this->stringContains(self::FILE_NAME),
84
- $this->equalTo("<?php\n" . self::FILE_CONTENT)
85
- )->will($this->returnValue(true));
+ "<?php\n" . self::FILE_CONTENT
+ )->willReturn(true);
86
87
$this->_filesystemDriverMock->expects($this->once())
88
->method('rename')
89
90
91
- $this->equalTo(self::FILE_NAME)
92
+ self::FILE_NAME
93
94
$this->assertTrue($this->_object->writeResultFile(self::FILE_NAME, self::FILE_CONTENT));
95
}
0 commit comments