Przeglądaj źródła

test(core): Fix failing e2e test

Michael Bromley 3 lat temu
rodzic
commit
46575ea1ab
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/core/e2e/populate.e2e-spec.ts

+ 1 - 1
packages/core/e2e/populate.e2e-spec.ts

@@ -227,7 +227,7 @@ describe('populate() function', () => {
 
 
         it('populates variants & options', async () => {
         it('populates variants & options', async () => {
             await adminClient.asSuperAdmin();
             await adminClient.asSuperAdmin();
-            await adminClient.setChannelToken(channel2.token);
+            await adminClient.setChannelToken(E2E_DEFAULT_CHANNEL_TOKEN);
             const { products } = await adminClient.query<GetProductListQuery, GetProductListQueryVariables>(
             const { products } = await adminClient.query<GetProductListQuery, GetProductListQueryVariables>(
                 GET_PRODUCT_LIST,
                 GET_PRODUCT_LIST,
                 {
                 {