Skip to content

Commit 6d113c1

Browse files
committed
Update unit tests on the product form actions.
1 parent aa0083d commit 6d113c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WooCommerce/WooCommerceTests/ViewRelated/Products/Edit Product/ProductFormViewModelTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ final class ProductFormViewModelTests: XCTestCase {
357357
let actionButtons = viewModel.actionButtons
358358

359359
// Then
360-
XCTAssertEqual(actionButtons, [.more])
360+
XCTAssertEqual(actionButtons, [.share, .more])
361361
}
362362

363363
func test_action_buttons_for_existing_draft_product_and_pending_changes() {
@@ -425,7 +425,7 @@ final class ProductFormViewModelTests: XCTestCase {
425425
let actionButtons = viewModel.actionButtons
426426

427427
// Then
428-
XCTAssertEqual(actionButtons, [.more])
428+
XCTAssertEqual(actionButtons, [.share, .more])
429429
}
430430

431431
func test_no_preview_button_for_existing_draft_product_on_site_with_no_frame_nonce() {

0 commit comments

Comments
 (0)