Skip to content

Commit 227b785

Browse files
committed
Fix broken test
1 parent eec82fd commit 227b785

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/Codeception/Module/FrameworksTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ public function testCreateSnapshotOnFail()
9494
$container = Stub::make(ModuleContainer::class);
9595
$module = Stub::construct($this->module::class, [$container], [
9696
'_savePageSource' => Stub\Expected::once(function ($filename) {
97-
$this->assertSame(codecept_log_dir('Codeception.Module.UniversalFramework.looks.like..test.fail.html'), $filename);
97+
$this->assertSame(codecept_log_dir('Codeception.Module.UniversalFramework.useUniversalFramework.fail.html'), $filename);
9898
}),
9999
]);
100100
$module->_initialize();
101101
$module->amOnPage('/');
102102

103-
$cest = new \Codeception\Test\Cest($this->module, 'looks:like::test', 'demo1Cest.php');
103+
$cest = new \Codeception\Test\Cest($this->module, 'useUniversalFramework', 'demo1Cest.php');
104104
$module->_failed($cest, new \PHPUnit\Framework\AssertionFailedError());
105105
}
106106
}

0 commit comments

Comments
 (0)