Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
grigoriy-ivanov authored Oct 16, 2023
1 parent f3bd8f5 commit f80f3e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/Screen/TDForTableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function testTdClass(): void

$view = TD::make('name')->class($class)->buildTd(new Repository(['name' => 'value']));

$this->assertStringContainsString('class="'.$class.'', $view);
$this->assertStringContainsString('text-start text-truncate '.$class.'', $view);
}

public function testTdWidthWithCustomStyle(): void
Expand All @@ -51,7 +51,7 @@ public function testTdWidthWithCustomStyle(): void

$view = TD::make('name')->width($width)->style($style)->buildTd(new Repository(['name' => 'value']));

$this->assertStringContainsString('style="min-width:'.$width.' '.$style.'', $view);
$this->assertStringContainsString('style="min-width:'.$width.'; '.$style.'', $view);
}

public function testTdWithoutWidth(): void
Expand Down

0 comments on commit f80f3e9

Please sign in to comment.